相关框架库地址
- 字体图标库android-iconify:「字体图标库android-iconify」(https://github.com/JoanZapata/android-iconify)
- 碎片管理库Fragmentation:「碎片管理库Fragmentation」(https://github.com/YoKeyword/Fragmentation)
- 视图注入库ButterKnife:著名的黄油刀「视图注入库ButterKnife」(https://github.com/JakeWharton/butterknife)
- 网络请求相关:
「网络请求框架okio」(https://github.com/square/okio)。OkHttp的底层使用该库作为支持。
「网络请求框架Okhttp」(https://github.com/square/okhttp)
「网络请求框架Retrofit」(https://github.com/square/retrofit)
「Retrofit转换器」(https://github.com/square/retrofit/tree/master/retrofit-converters/scalars) - 响应式编程相关:
「ReactiveX/RxJava」(https://github.com/ReactiveX/RxJava)
「ReactiveX/RxAndroid」(https://github.com/ReactiveX/RxAndroid)
「retrofit2-rxjava2-adapter」(https://github.com/JakeWharton/retrofit2-rxjava2-adapter) - 轮播图:
「ConvenientBanner轮播图」(https://github.com/Bigkoo/Android-ConvenientBanner)
扩展:
ButterKnife插件作用:生成R2类,这个类用于生成视图绑定的唯一id
异步是把双刃剑:有线程错位,数据的不稳定性和不准确性等风险,不要过度迷信。特别是建构大型电商或者实时性系统时需谨慎使用。