https://github.com/TangfeiJi/Android-master 源码
本项目基于 Material Design + MVP + dagger2 + RxJava + Retrofit+ Glide + greendao 等架构进行设计实现,MVP模式中的Model使用DataManager模式统一管理,代码结构清晰,功能详实,是一个不错的Android应用开发学习参考项目。项目应用线剪断最火的新技术搭建。
现在基本的框架用到的技术 圈圈的是本项目用到的技术。感谢各个技术的开源 对屏幕适配 图片加载 网络请求缓存 webView的封装 事件的响应 内存泄漏检测 动态权限 等等都做了响应的技术。看项目学习 这里简单介绍下项目的搭建技术,具体的用法看项目
dagger RxJava RxAndroid Retrofit okhttp Glide AndroidEventBus BRVH AgentWeb banner VerticalTabLayout SmartRefreshLayout leakcanary AndroidAutoSize RxPermissions //base "appcompat-v7" : "com.android.support:appcompat-v7:${version["supportLibraryVersion"]}", "cardview-v7" : "com.android.support:cardview-v7:${version["supportLibraryVersion"]}", "preference-v7" : "com.android.support:preference-v7:${version["supportLibraryVersion"]}", "preference-v14" : "com.android.support:preference-v14:${version["supportLibraryVersion"]}", "design" : "com.android.support:design:${version["supportLibraryVersion"]}", "constraint-layout" : "com.android.support.constraint:constraint-layout:1.1.3", //ui "banner" : "com.youth.banner:banner:1.4.10", "agentweb" : "com.just.agentweb:agentweb:4.0.2", "autosize" : "me.jessyan:autosize:1.1.2", "statusbar" : "com.gyf.immersionbar:immersionbar:2.3.3", "multipleStatusView" : "com.classic.common:multiple-status-view:1.6", //net "gson" : "com.google.code.gson:gson:2.8.2", "okhttp" : "com.squareup.okhttp3:okhttp:${version["okhttpVersion"]}", "logging-interceptor" : "com.squareup.okhttp3:logging-interceptor:${version["okhttpVersion"]}", "retrofit" : "com.squareup.retrofit2:retrofit:${version["retrofitVersion"]}", "converter-gson" : "com.squareup.retrofit2:converter-gson:${version["retrofitVersion"]}", "adapter-rxjava2" : "com.squareup.retrofit2:adapter-rxjava2:${version["retrofitVersion"]}", "glide" : "com.github.bumptech.glide:glide:${version["glideVersion"]}", "glide_compiler" : "com.github.bumptech.glide:compiler:${version["glideVersion"]}", //dao "greendao" : "org.greenrobot:greendao:3.2.2", //rx "rxjava" : "io.reactivex.rxjava2:rxjava:2.1.5", "rxandroid" : "io.reactivex.rxjava2:rxandroid:2.0.1", "rxbinding" : "com.jakewharton.rxbinding2:rxbinding:2.1.0", "rxpermissions" : "com.tbruyelle.rxpermissions2:rxpermissions:0.9.5@aar", "rxbus" : "com.hwangjr.rxbus:rxbus:2.0.1", //di "dagger2" : "com.google.dagger:dagger:${version["dagger2Version"]}", "dagger2-compiler" : "com.google.dagger:dagger-compiler:${version["dagger2Version"]}", "dagger2-android" : "com.google.dagger:dagger-android:${version["dagger2Version"]}", "dagger2-android-support" : "com.google.dagger:dagger-android-support:${version["dagger2Version"]}", "dagger2-android-processor" : "com.google.dagger:dagger-android-processor:${version["dagger2Version"]}", "javax_annotation" : "org.glassfish:javax.annotation:10.0-b28", "butterknife" : "com.jakewharton:butterknife:8.8.1", "butterknife-compiler" : "com.jakewharton:butterknife-compiler:8.8.1", //multidex "multidex" : "com.android.support:multidex:1.0.3", //leakcanary "leakcanary-android" : "com.squareup.leakcanary:leakcanary-android:${version["leakcanaryVersion"]}", "leakcanary-android-no-op" : "com.squareup.leakcanary:leakcanary-android-no-op:${version["leakcanaryVersion"]}", //kotlin // "kotlin-stdlib" : "org.jetbrains.kotlin:kotlin-stdlib:1.3.0", //tools "lottie" : "com.airbnb.android:lottie:2.3.0", "BaseRecyclerViewAdapterHelper" : "com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.46", "fragmentation" : "me.yokeyword:fragmentation:${version["fragmentationVersion"]}", "fragmentation-swipeback" : "me.yokeyword:fragmentation-swipeback:${version["fragmentationVersion"]}", "crashreport_upgrade" : "com.tencent.bugly:crashreport_upgrade:latest.release", "logger" : "com.orhanobut:logger:2.1.1", "ByeBurger" : "com.github.githubwing:ByeBurger:1.2.3", // "stetho" : "com.facebook.stetho:stetho:1.5.0",//用来测试接口的 // "stetho-okhttp3" : "com.facebook.stetho:stetho-okhttp3:1.4.2", "PersistentCookieJar" : "com.github.franmontiel:PersistentCookieJar:v1.0.1", "eventbus" : "org.greenrobot:eventbus:3.1.1", "androideventbus" : "org.simple:androideventbus:1.0.5.1", "xpopup" : 'com.lxj:xpopup:1.4.5',https://github.com/TangfeiJi/Android-master