使用data binding , dagger2 , retrofit2和rxjava实现的,基于MVVM的知乎日报APP
运行效果: <ignore_js_op>
使用说明:
项目结构
-
android data binding来实现MVVM。
-
dagger2来完成依赖注入。
-
retrofit2+rxjava实现restful的http请求。
第三方类库
-
retrofit2
-
dagger2
-
butterknife
-
rxjava+rxandroid
-
LoganSquare
-
glide
-
android data binding
-
android support design
<ignore_js_op>
<ignore_js_op>
![](http://img.662p.com/android/forum/201604/13/053358tpw9y9fca3jakfi9.jpg)
![](http://img.662p.com/android/forum/201604/13/053402fmd5qgq599pv6vm1.jpg)
<ignore_js_op>
<ignore_js_op>
![](http://img.662p.com/android/forum/201604/13/053404ef6zie2qmbo22bjj.jpg)
![](http://img.662p.com/android/forum/201604/13/053408fl5luwkrb1da55kz.jpg)