# baseapp **Repository Path**: guyej/demo ## Basic Information - **Project Name**: baseapp - **Description**: 安卓基础项目框架 - **Primary Language**: Android - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 2 - **Created**: 2016-04-19 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ##安卓基础项目框架 ###重点 由于近期准备基于该项目重构整个框架,所以BaseApp理论上不会进行维护,重构后的代码在EasyLib中,正在逐步完善
可惜公司项目最近较忙,抽不出太多时间,后续的更新会在EasyLib上体现,当整个项目重构完成后,会发布在github上 ###简介 BaseApp中主要是一些常用的工具类,基础类的简单整合,方便外包项目的快速启动和开发
项目中引入了一些优秀的三方库,如
[BGAAdapter](https://github.com/bingoogolapple/BGAAdapter-Android "BGAAdapter") 可搭配RecyclerView的简单adapter,其中封装了许多方法,非常好用
[ButterKnife](https://github.com/JakeWharton/butterknife "ButterKnife") JakeWharton大神的注解框架,配合AS插件更好用
[GSON](https://github.com/google/gson "GSON") Google官方推出的快速解析json解决方案
[OKhttp3](https://github.com/square/okhttp "OKhttp3") Square推出的替代HttpURLConnection的网络连接解决方案
[Picasso](https://github.com/square/picasso "Picasso") Square推出的图片加载及缓存解决方案,较轻量级,不支持gif
[EventBus](https://github.com/greenrobot/EventBus "EventBus") 是Android下高效的发布/订阅事件总线机制,原理是参考了Intent,可替代Intent,Handler,Broadcast或接口函数在Fragment,Activity,Service,线程之间传递数据
[Logger](https://github.com/orhanobut/logger "Logger") 一款比较优秀的日志打印方案,打印内容可控,包括线程,位置,信息等,结构清晰明确
[GalleryFinal](https://github.com/orhanobut/logger "GalleryFinal") github上流行的图片选择器之一
[七牛云存储](http://developer.qiniu.com/code/v7/sdk/android.html "七牛云存储") 七牛提供的云存储解决方案,可作为初创公司的图片服务器使用
[MultiDex](https://developer.android.com/reference/android/support/multidex/MultiDex.html "MultiDex") `自备梯子!`分包工具,遇到65K问题时,可使用
[FreeLine](https://github.com/alibaba/freeline "FreeLine") alibaba开源的一款增量编译工具,开发过程中十分好用
项目持续更新中
###分包说明 * [application](http://git.oschina.net/guyej/demo/tree/master/app/src/main/java/com/guyj/baseapp/application "application")自定义的application,初始化部分内容
* [base](http://git.oschina.net/guyej/demo/tree/master/app/src/main/java/com/guyj/baseapp/base "base")几个常用的base类
* [demo](http://git.oschina.net/guyej/demo/tree/master/app/src/main/java/com/guyj/baseapp/demo "demo")计划写N个具体的使用demo
* [entity](http://git.oschina.net/guyej/demo/tree/master/app/src/main/java/com/guyj/baseapp/entity "entity")网络返回对象的实体类
* [http](http://git.oschina.net/guyej/demo/tree/master/app/src/main/java/com/guyj/baseapp/http "http")网络请求工具类
* [permissions](http://git.oschina.net/guyej/demo/tree/master/app/src/main/java/com/guyj/baseapp/permissions "permissions")6.0以上所需要的权限申请
* [utils](http://git.oschina.net/guyej/demo/tree/master/app/src/main/java/com/guyj/baseapp/utils "utils")几个常用工具类
* [views](http://git.oschina.net/guyej/demo/tree/master/app/src/main/java/com/guyj/baseapp/views "views")自定义view
### 普通文本
普通文本
换行
使用\
高亮`文字`
[文字超链接](http://www.baidu.com "悬停显示")
普通文本
换行
使用\
高亮`文字`
[文字超链接](http://www.baidu.com "悬停显示")
* 一级圆点符号 ** 二级原点符号 *** 三级圆点符号 >数据结构 >>树 >>>二叉树 >>>>平衡二叉树 >>>>>满二叉树