Android常用框架整理

 

1、网络框架

OKGO

https://github.com/jeasonlzy/okhttp-OkGo

MVParms网络请求全家桶 

好处太多,rx系列很全面Rxjava  Rxandroid RxLifecycle Rxcache ,只是项目中使用的Dagger,关于Dagger个人认为有的人喜欢用这种依赖注入,大大简化了new实例的过程,但有的人不喜欢这种依赖注入,因为给项目添加了很多类。

https://github.com/JessYanCoding/MVPArms

2、数据库框架

数据库方面操作就比较多了,看了一篇不错的文章可以做为参考:

http://blog.csdn.net/da_caoyuan/article/details/61414626

3、RecycleView适配器

万能适配器,可以满足几乎所有常见的列表功能

https://github.com/CymChad/BRVAHST

4、上下拉刷新

 

https://github.com/scwang90/SmartRefreshLayout

补充:解决滑动问题:snaphelper

https://github.com/rubensousa/RecyclerViewSnap

 

5、图片压缩

https://github.com/Curzibn/Luban

 

6、进度加载Dialog

https://github.com/81813780/AVLoadingIndicatorView

7、触摸放缩图片

https://github.com/sephiroth74/ImageViewZoom

8、多图片选择器

https://github.com/lovetuzitong/MultiImageSelector

https://github.com/LuckSiege/PictureSelector

9、Log工具

https://github.com/orhanobut/logger

https://github.com/JakeWharton/timber

10、MultiDex

解决65535

https://developer.android.com/studio/build/multidex.html

11、权限

rxpermission

https://github.com/tbruyelle/RxPermissions

12、layer—list

http://blog.csdn.net/itzhongzi/article/details/52188485

http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2013/0707/1418.html

13、AndroidUtil整理

https://github.com/Blankj/AndroidUtilCode

14、文字工具

https://www.jianshu.com/p/509b0d2626f4

ps:可以用于自己平时测数据

https://www.mocky.io/

15、AndroidStudio好用插件

ButterKnife zelezny  (butterknife 的好助手)

IconViewer  (用来查看图片缩略图)

16、Chrome好用插件

 

Octotree (在github上查看项目的时候会自动生成目录树)

Set Character Encoding

Axure RP Extension for Chrome(在浏览器看产品原型的时候会用到,如果产品原型是用墨刀做的那就没必要了)

JSON-handle

17、日期选择控件

https://github.com/liuwan1992/CustomDatePicker

18、底部导航栏

https://github.com/ittianyu/BottomNavigationViewEx

19、日历控件

https://github.com/MagicMashRoom/SuperCalendar

20、ARouter路由器

路由器刚出的时候看过一点,没有尝试,最近公司封装的module里面需要从module的activity跳转到主项目里的某个Activity里面,尝试了一下,使用简单且方便,太给力了!

https://github.com/alibaba/ARouter

21、混淆  

 

libraries文件夹下有很多可以参考的类库的混淆代码

 

https://github.com/krschultz/android-proguard-snippets

 

22、超级好用的上拉加载下拉刷新

https://github.com/Aspsine/SwipeToLoadLayout

框架的相关文章链接及Demo

https://www.jianshu.com/p/fc8c73db72b3

https://github.com/maning0303/MNSwipeToLoadDemo

23、统一修改文字字体框架

https://github.com/chrisjenx/Calligraphy

 

24、屏幕适配

https://github.com/JessYanCoding/AndroidAutoSize

ps:还是比较建议用今日头条的适配框架吧,sw的适配方式在平板上会有问题

 

 

你可能感兴趣的:(Android)