仿今日头条App,采用Rxjava、RxAndroid、retorfit、mvp。
此app包含了4大模块–1.新闻页面 2. 频道选择界面 3.视频界面 4.趣图界面 5.详情页面 用的是filder抓包进行分析解析得出的结果,仅供参考
1.引入相关包
- build.gradle
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
testCompile 'junit:junit:4.12'
compile 'com.android.support:design:25.0.0'
//添加背景阴影
compile 'com.android.support:cardview-v7:21.0.2'
compile 'com.squareup.retrofit2:retrofit:2.1.0'
compile 'com.squareup.retrofit2:converter-scalars:2.1.0'
compile 'c