# MiniCore **Repository Path**: wavefar/MiniCore ## Basic Information - **Project Name**: MiniCore - **Description**: android快速开发项目介绍,常用公共库(mini-core)整合okHttp、dataBinding、retrofit、glide、eventbus、 bindingcollectionadapter、agentweb等常用三方工具库; - **Primary Language**: Android - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 8 - **Forks**: 1 - **Created**: 2019-04-24 - **Last Updated**: 2025-06-30 ## Categories & Tags **Categories**: android-modules **Tags**: None ## README # MiniCore #### 项目介绍 android快速开发项目介绍,常用公共库(mini-core)整合okHttp、dataBinding、retrofit、glide、eventbus、 bindingcollectionadapter、agentweb等常用三方工具库; #### 使用指南(Usage Guide) **方法一、从 jitpack导入[![](https://jitpack.io/v/wavefar/MiniCore.svg)](https://jitpack.io/#wavefar/MiniCore)** Step 1. Add it in your root build.gradle at the end of repositories: ```groovy allprojects { repositories { maven { url 'https://jitpack.io' } } } ``` Step 2. Add the dependency ```groovy dependencies { implementation 'com.github.wavefar:MiniCore:$lastVersionName' } ``` $lastVersionName:master-SNAPSHOT(为最新预览版);目前正式发布版本为:[![](https://jitpack.io/v/wavefar/MiniCore.svg)](https://jitpack.io/#wavefar/MiniCore); **方法二、从 JCenter 导入** ```groovy dependencies { implementation 'org.wavefar.lib:mini-core:$lastVersionName' } ``` **方法三、下载源码,本地导入** ```groovy dependencies { implementation project(':mini-core') } ``` 最低支持 android 4.4 ,api 19 ;[![](https://pub.idqqimg.com/wpa/images/group.png)](https://shang.qq.com/wpa/qunwpa?idkey=be89a6425c922840889d46d452821d68618be7a724ea5bb86ace57c86db0a007) #### 目录介绍 - base目录,封装常用基类; - binding目录,封装常用的BindingAdapter; - exception目录,封装常用的http异常处理; - net目录,okHttp+retrofit+rxjava2封装,常用restful API(get\post\delete\postFile\download)的封装,统一处理了的日志、缓存、Cookie、头信息; - ui 目录,封装了常用的功能activity/fragment(引导页、WebView封装、Tab菜单封装) - 引导页GuideActivity,如项目中需要引导操作的继承该类做业务处理; - Tab菜单页封装 TabFragmentActivity; - widget 封装常用的小控件(轮播BannerView、带清除按钮的EditText、购物车加减输入控件CounterView、流式布局FlowLayout); - utils目录,封装常用的工具类,如文件、字符串正则、加密解密、弹窗、日志、时间、权限、页面跳转、获取设备参数、获取屏幕参数等工具类; 更多内容敬请期待,文档更新中...