关于如何高效率开发一个 Android APP

2016-01-13 09:14:30 +08:00
 lingdududu

前段时间在知乎segmentfault回答过类似的问题。在这里总结一下,希望帮到有需要的人。

网络模块

事件总线

依赖注入

图片模块

数据库模块

响应式编程

日志输出

测试相关

崩溃统计平台


架构设计

这个肯定得了解下 MVC , MVP , MVVM 还有设计模式这些,这里有几个开源项目推荐下

philm

Movie collection and information app for Android.
Github 地址: https://github.com/chrisbanes/philm

SimpleNews

基于 Material Design 和 MVP 的新闻客户端
Github 地址: https://github.com/liuling07/SimpleNews

GankDaily

A application show technical information every working days, use MVP pattern.
Github 地址: https://github.com/maoruibin/GankDaily

SimplifyReader

Github 地址: https://github.com/SkillCollege/SimplifyReader

NBAPlus

Github 地址: https://github.com/SilenceDut/NBAPlus

PhotoNoter

Github 地址: https://github.com/yydcdut/PhotoNoter

Meizhi

Github 地址: https://github.com/drakeet/Meizhi


其他

leakcanary

检查内存泄露
Github 地址: https://github.com/square/leakcanary

DebugDrawer

Android Debug Drawer for faster development
Github 地址: https://github.com/palaima/DebugDrawer

ViewServer

Local server for Android's HierarchyViewer
Github 地址: https://github.com/romainguy/ViewServer


APP 内测,分发


PS :开源框架虽然好用,但最好要了解框架存在的一些 bug 和坑,遇到问题可以给作者提 issue ,一般这些有名的框架,作者都会很积极的回答。

另外打个广告,推荐下自己的Android-Dev-Favorites,里面收集了 Android 开发的干货。

8703 次点击
所在节点    Android
17 条回复
skiplow
2016-01-13 09:18:02 +08:00
顶一下 楼主分享都挺好
wlzcool
2016-01-13 09:28:50 +08:00
666
wintersun
2016-01-13 09:37:01 +08:00
必须收藏,感谢分享!
twocity
2016-01-13 09:45:34 +08:00
ButterKnife 并不是依赖注入
lingdududu
2016-01-13 10:39:50 +08:00
写得不好或者不正确的地方,欢迎大家提出
icybee
2016-01-13 11:05:15 +08:00
framework7
atubo
2016-01-13 11:56:43 +08:00
不过, Mark 一下。
clong2010
2016-01-13 12:06:57 +08:00
顶下楼主!不错!
Koge
2016-01-13 13:18:20 +08:00
很赞!
Dayaa
2016-01-13 15:01:21 +08:00
一般大小的 app 没有个千万用户的功能是没必要用 dagger 的
autulin
2016-01-13 15:04:19 +08:00
手动 mark
scalaview
2016-01-13 15:06:09 +08:00
然并卵,我才不会收藏呢
lingdududu
2016-01-13 15:48:14 +08:00
@scalaview 不收藏, star 也可以,哈哈
funCoder
2016-01-13 16:39:15 +08:00
慎重使用 ORM ,踩过 LitePal 的坑
eminemcola
2016-01-13 16:39:36 +08:00
mark ,入职再刷一遍。感谢。
lingdududu
2016-01-19 13:14:48 +08:00
自己顶一个
ihewro
2017-09-22 10:24:38 +08:00
mark it's good!

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/250328

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX