Zane96 / Githubquery
由rxjava+retrofit2+dagger2+mvp架构完成的查询github用户信息的app by android。
Stars: ✭ 42
Programming Languages
java
68154 projects - #9 most used programming language
GithubQuery
由rxjava+retrofit2+dagger2+mvp架构完成的查询github用户信息的app by android。
了解更多
app项目架构分析博客:MVP中Model的进一步细化——DataManager
介绍
简单的练习了rxjava+retrofit2.0+dagger2+mvp架构项目。
- Rxjava+Retrofit+Okhttp结合做网络请求部分。Okhttp拦截请求头和响应头添加http缓存。
- Dagger2用于模块解耦和依赖注入,这里主要在presenter中注入DataManager。
- MVP模式架构项目。使用本人的一套MVP开发框架:EasyMVP。
- DataManager用于管理数据源。提供唯一的数据源接口。详细介绍:Android Application Architecture
mvp框架——EasyMVP
EasyMVP项目地址,还在不断完善中。
样式
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].