Android项目的框架整理(基于mvp架构)

新项目框架整理(基于mvp架构)


1.view注入

//Android Studio3.0 与butterknife有冲突 可用butterknife8.4.0版本
https://github.com/JakeWharton/butterknife

2.RxAndroid(异步线程)

https://github.com/ReactiveX/RxAndroid

3.Retrofit(网络交互)

https://github.com/square/retrofit

4.Log打印

https://github.com/Blankj/ALog

5.Android Activity 滑动返回。支持微信滑动返回样式、横屏滑动返回、全屏滑动返回

https://github.com/bingoogolapple/BGASwipeBackLayout-Android
https://github.com/r0adkll/Slidr

6.状态栏操作

https://github.com/laobie/StatusBarUtil

7.一个强大的RecyclerAdapter框架

https://github.com/CymChad/BaseRecyclerViewAdapterHelper

8.一款用于在Android设备上获取照片(拍照或从相册、文件中选择)、裁剪图片、压缩图片的开源工具库

//知乎图片选择框架
https://github.com/zhihu/Matisse
//适配机型多,但是用法复杂
https://github.com/crazycodeboy/TakePhoto

9.常用的AS插件

http://blog.csdn.net/lyj1005353553/article/details/55100563
//主要是GosnFormat、ButterKnife Zelezny 
//Alog插件下载地址:https://raw.githubusercontent.com/Blankj/ALog/master/art/alog_templates.jar
//一个帮你轻松完成Api接口调试的IDEA插件
https://github.com/fingerart/ApiDebugger?

10.常用工具类合集

Android开发人员不得不收集的工具类集合 | 支付宝支付 | 微信支付(统一下单) | 微信分享 | Zip4j压缩(支持分卷压缩与加密)
| 一键集成UCrop选择圆形头像 | 一键集成二维码和条形码的扫描与生成 | 常用Dialog | WebView的封装可播放视频 |
仿斗鱼滑动验证码 | Toast封装 | 震动 | GPS | Location定位 | 图片缩放 | Exif 图片添加地理位置信息(经纬度) | 蛛网等级 | 颜色选择器

https://github.com/vondear/RxTools
https://github.com/Blankj/AndroidUtilCode

11.点击界面隐藏软键盘

https://www.jianshu.com/p/0114e4f37a71

12.新建类头部注释和添加函数注释模板及快捷键

http://blog.csdn.net/tuke_tuke/article/details/73277588

13.Android6.0及以上权限申请库(AndPermission)

http://www.yanzhenjie.com/AndPermission/cn/
https://github.com/yanzhenjie/AndPermission

14.基于今日头条方案的屏幕适配库(AndroidAutoSize)

https://github.com/JessYanCoding/AndroidAutoSize

15.fragment重叠解决方案&Toast工具类

//解决fragment重叠问题
https://github.com/YoKeyword/Fragmentation
//解决通知权限关闭吐司不弹出的问题,还可自定义吐司样式
https://github.com/getActivity/ToastUtils

未完待续…

  • 0
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值