Coder Social home page Coder Social logo

moments's People

Contributors

bryan-wu-ucsb avatar denniszzh avatar henry-swe avatar seakyluo avatar

Watchers

 avatar

Forkers

denniszzh

moments's Issues

AddCommentFragment没有显示

本来应该是这样的,按了图一最下方的EditText之后会蹦出图二一样的DialogFragment (AddCommentFragment),但是现在按了之后只会变黑。对了,这个DialogFragment可能不会显示在键盘上方,请帮忙显示到键盘上方。应该是靠在xml中添加fitSystemWindow = "true"来实现
screenshot_2018-11-17-16-18-46
screenshot_2018-11-17-14-16-19

User Profile顶部Status bar

顶部status bar应该透明,跟图片放在下面一样,应该是android:fitsSystemWindows="true"的问题

image

EditPost的send button应该在无content时无法被click

明明在xml里已经设置了clickable = false,但是还是在无内容时可以click。
而且这个bug只出现在EditText被edit之前,如果被添加过内容然后又清空,这时候就无法click
代码在EditPostActivity.java跟activity_edit_post.xml里

User Profile的scroll问题

NestedScrollView中有个SwipeFreshLayout,讲道理这个应该在NestedScrollView外面,但是放到外面之后会错位,请修复错位问题

Post允许上传图片

如果用户没有输入文字则无需输入文字并自动输入“Share Picture”
screenshot_2018-11-14-09-16-17
在post显示的时候,有一张图片就wrap_content,多张就GridLayout。一张GridLayout就一列,两张两列,三张三列,四张两列,五张及以上三列
screenshot_2018-11-14-09-37-26
screenshot_2018-11-14-09-37-31

可以合并xml

可以合并activity_main跟content_main,
可以合并activity_user_profile跟content_user_profile

Save Fragment States

Home Fragment的post在切换到其他Fragment再返回的话会消失,应该是没有save states

获取用户头像问题

即使用户成功设置了头像(Storage里有记录),重新打开app获取的还是默认头像,初步怀疑是哪里写死了

图标优化

应用图标更改
底部导航栏图标可以小一点
HomeFragment的fab的加号有点红,应该是全白
发post的按钮们中,照相机,图库,位置的图标可以再粗一点,上面的×好像有点大

在Drawer里上传头像

就不放在注册里了 这不是必须的步骤
建议用Firebase的Storage储存 然后存到Auth的PicURI里 我还没细看 就大概说说

Settings页面没有返回栏只能右滑返回

settings我抄了模板,但是懒得改。模板稍微有点炫酷,然后还没有toolbar跟返回按钮
理想形态是下面的:
screenshot_2018-11-12-23-15-41
不用实现设置的功能,就占个坑就行。设置栏的项目在preference.xml里,设置的Fragment的layout是fragment_setttings。但是模板他自己创建了新的xml,pref*.xml共4个文件,还有AppCompatActivity.java跟SettingsActivity.java。
讲道理只用把我的fragment_settings跟preference合起来就行,但是我不会,模板又比较炫酷,就先留着了hh。

时间显示错误

最新发布的post时间显示有问题
显示时间的代码在PostAdapter的TimeText跟FullPostActivity的TimeText中
image
image

在Firebase中上传bitmap

现在因为无法下载bitmap会导致GroupsFragment闪退
因为Firebase需要一个Bitmap()的constructor,但是Bitmap不提供
主要是为了上传用户头像跟群组头像
可能可以用Firebase Storage实现,可以利用用户头像跟群组头像当key
另外,我抄了一个不用Storage的就可以上传Bitmap函数在FirebaseHelper中,被comment了

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.