全库:https://github.com/Sunnyfor/ZyFrame
基础库:https://github.com/Sunnyfor/ZyBase
网络库:https://github.com/Sunnyfor/ZyHttp
CSDN地址:https://blog.csdn.net/Chenyongzuo/article/details/115629366?spm=1001.2014.3001.5501
快速开发框架,直接在线依赖即可,包含:ZyBase/ZyHttp/蓝牙/Zxing/相机相册等各种工具类
基础库框架:管理整个项目的 Activity,Fragment,持久化存储,各种方便调用的工具类
网络请求框架:OkHttp+Kotlin协程,支持kotlin / Java语言
maven { url "https://jitpack.io" }
implementation ‘com.github.Sunnyfor:ZyFrame:Tag’
androidx 包相关的依赖,框架里已集成,可以删除
android:theme="@style/ZyTheme"
-
统一全局页面主题样式
-
通过配置修改状态栏、标题栏、颜色、字体 等等
-
框架BaseAcitivty初始化布局依赖以下属性来实现沉浸式效果
<item name="windowActionBar">false</item> <item name="windowNoTitle">true</item>
ZyFrameStore.init(this)