-
内容: 各种开源库、新技术、新想法的验证。
-
结构: 除了base和glide包外,其他分包根据验证内容划分。
-
版本: 在主项目的build.gradle文件中管理,如下
ext { setup = [compileSdk: 25, buildTools: "25.0.2", minSdk : 16, targetSdk : 25, ] versions = [libSupport : "25.2.0", libButterKnife: "8.5.1", libRxJava : "2.0.1", libRxBinding : "2.0.0", libRetrofit : "2.2.0", libOkhttp : "3.6.0"] }
-
TakePhoto: https://github.com/crazycodeboy/TakePhoto
compile ('com.jph.takephoto:takephoto_library:4.0.3', { exclude module: 'rxjava', group: 'io.reactivex' exclude module: 'rxandroid', group: 'io.reactivex' })
-
glide: https://github.com/bumptech/glide
compile 'com.github.bumptech.glide:glide:3.7.0'
-
rx分支较多,不贴了
retrofit: https://github.com/square/retrofit
//网络 compile "com.squareup.retrofit2:retrofit:$rootProject.versions.libRetrofit" compile "com.squareup.retrofit2:converter-gson:$rootProject.versions.libRetrofit" compile "com.squareup.retrofit2:adapter-rxjava2:$rootProject.versions.libRetrofit" compile "com.squareup.okhttp3:okhttp:$rootProject.versions.libOkhttp" compile "com.squareup.okhttp3:logging-interceptor:$rootProject.versions.libOkhttp" //rx compile "io.reactivex.rxjava2:rxjava:$rootProject.versions.libRxJava" compile "io.reactivex.rxjava2:rxandroid:$rootProject.versions.libRxJava" compile "com.jakewharton.rxbinding2:rxbinding:$rootProject.versions.libRxBinding"
-
Data Binding Library: https://developer.android.com/topic/libraries/data-binding/index.html
andrdoid{ dataBinding{ enabled true } }
-
The Transitions Framework:
https://developer.android.com/training/transitions/overview.html