android studio第三方框架总结
16lz
2021-01-23
第三方框架gradle添加:
UI
Material design和Support library控件
compile 'com.android.support:appcompat-v7:25.3.1' compile 'com.android.support:design:25.3.1'
网络框架
volley
compile 'com.mcxiaoke.volley:library:1.0.19'
github:https://github.com/mcxiaoke/android-volley
图片框架
picasso
compile 'com.squareup.picasso:picasso:2.5.2'
主页:http://square.github.io/picasso/
github:http://square.github.io/picasso/
glide
repositories { mavenCentral() google()}dependencies { implementation 'com.github.bumptech.glide:glide:4.7.1' annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'}
Glide默认会导入Android的support-v4包。4.71版本默认导入的是v4包的27版本。如果你的项目中有v4包的别的版本,就会引起冲突发生错误 如 java.lang.NoSuchMethodError: No static method
github:https://github.com/bumptech/glide
json解析
gson
dependencies { compile 'com.google.code.gson:gson:2.8.5'}
github:https://github.com/google/gson
事件通知
eventbus
compile 'org.greenrobot:eventbus:3.1.1'
github:https://github.com/greenrobot/EventBus
图片轮播
banner
dependencies{ compile 'com.youth.banner:banner:1.4.10' //最新版本}
github:https://github.com/youth5201314/banner
其它
图文混排textview
repositories { jcenter()}dependencies { compile 'org.sufficientlysecure:html-textview:3.5'}
github:https://github.com/PrivacyApps/html-textview
图形
dependencies{compile 'com.github.lecho:hellocharts-library:[email protected]' }
github:https://github.com/lecho/hellocharts-android
更多相关文章
- android 在画布上画图片
- Android api对应版本(持续更新)
- Android ImageView圆角图片的简单实现
- android query框架介绍
- Android 网络框架_常用的网络框架
- Android ConnectivityService框架