讨论话题收集
Trinea opened this issue · 6 comments
Trinea commented
这个下面不建议随便新增 Issue,大家觉得合适的话题需要讨论的,请在下面评论留言,我们来建 Issue。
alexluocj commented
通过设置Notification.sound的方式设置声音,有些手机没有效果,是否有人碰到过这种情况,怎么解决的?
chenUT commented
github上有一个android best practices 的项目,不知道是不是可以在这里link一下?
Silocean commented
网上有哪些好用的公共API接口?
chenUT commented
@Silocean 简易的restful的话 用https://parse.com/还是很不错的
HanderWei commented
最近在学习MVP模式,目前有两个个问题:
- Activity/Fragment 应该作为
View
还是Presenter
? (看了几篇博客,感觉各有优劣) - MVP模式下如何处理多线程
chenUT commented
@HanderWei 个人觉得Activity/Fragment 更像是mvc 中的controller 如果非要到mvp中 我觉得会是 presenter, view应该已经有xml 或者各种customized view实现了。
多线程个人习惯于asynctask 处理简单任务,intentservice处理稍复杂任务,真正的需要多线程的后台任务责由service + threadpoolexecutor完成。