##MJ天气是一款天气预报软件,基于MVP架构,采用各主流框架实现。
Mvp
Google's official Mvp architecture project(Dagger branch)Dagger2
Rxjava2
RxAndroid
RxPermissions2
Okhttp3
Retrofit2
Gson
Litepal
Glide
glide-transformations
EventBus
Butterknife
Timber
Logger
LeakCanary
BlockCanary
bugly
tinker
CheckStyle
FindBugs
PMD
Lint
StrictMode
- ``
-com.mj.weather
+ common //公共模块
+ module1 //业务1模块
- weather //天气预报模块
+ activity //Activity全局的控制者,负责创建View和Presenter的实例
+ component //Dagger构建对象图@Component模块
+ contract //契约类,用于统一管理View和Presenter的接口
- model //MVP中的Model层
+ db //数据库
+ http //网络
+ repository //Model层中的Data Repository模块
+ module //Dagger@Module模块
+ presenter //MVP中的Presenter层
- view //MVP中的View层
+ adapter
+ fragment
+ ...
+ module2 //业务2模块
+ ...