/MyAndroidRoot

MVP模式开发模板

Primary LanguageJava

MyAndroidRoot

主要基于以下开源框架封装的MVP模式开发模板,方便后续开发下载即用,无需每次启动项目重复搭建。
    目前为第一版,后续会逐步完善。
         //RxLifecycle
        implementation 'com.trello.rxlifecycle2:rxlifecycle:2.2.1'
        implementation 'com.trello.rxlifecycle2:rxlifecycle-components:2.2.1'
         //ARouter 跳转路由
        implementation 'com.alibaba:arouter-api:1.3.1'
        annotationProcessor 'com.alibaba:arouter-compiler:1.1.4'
         //butterknife
        implementation 'com.jakewharton:butterknife:8.8.1'
        annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
         //dagger2
        implementation 'com.google.dagger:dagger:2.16'
        annotationProcessor 'com.google.dagger:dagger-compiler:2.16'
         //retrofit
        implementation 'com.squareup.retrofit2:retrofit:2.4.0'
        implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
        implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
         //rxjava
        implementation 'io.reactivex.rxjava2:rxjava:2.1.11'
        implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
        implementation 'com.jakewharton.rxbinding2:rxbinding:2.1.1'