httpClient : android{ useLibrary 'org.apache.http.legacy' }
Gson:dependencies{ implementation 'com.google.code.gson:gson:2.2.4' }
ImageLoader:dependencies{ implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' }
pull-to-refresh{implementation 'com.github.userswlwork:pull-to-refresh:1.0.0'}
Tablyout{implementation .android.support:design:26+'}
ok http { implementation 'com.squareup.okhttp3:okhttp:3.10.0'}
recyclerview _listview { implementation 'com.android.support:recyclerview-v7:26.1.0' }
banner { implementation 'com.youth.banner:banner:1.4.9'}
butterknife implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
EventBus使用了发布者/订阅者模式。
implementation 'org.greenrobot:eventbus:3.1.1'
fresco:
// 其他依赖
implementation 'com.facebook.fresco:fresco:0.12.0'
// 在 API < 14 上的机器支持 WebP 时,需要添加
implementation 'com.facebook.fresco:animated-base-support:0.12.0'
// 支持 GIF 动图,需要添加
implementation 'com.facebook.fresco:animated-gif:0.12.0'
// 支持 WebP (静态图+动图),需要添加
implementation 'com.facebook.fresco:animated-webp:0.12.0'
implementation 'com.facebook.fresco:webpsupport:0.12.0'
// 仅支持 WebP 静态图,需要添加
implementation 'com.facebook.fresco:webpsupport:0.12.0'
频道管理 DragGridView
allprojects {
repositories {
jcenter()
//下面这句才是加上的,上面的自带 的
maven {url "https://jitpack.io"}
}
}
2、然后在app下的build中导入依赖
implementation 'com.github.andyoom:draggrid:v1.0.1'