Skip to content

Commit 21b391c

Browse files
authored
Merge pull request #133 from xuexiangjys/dev/1.1.9
Dev/1.1.9
2 parents 88fa132 + 3fbbbe9 commit 21b391c

File tree

86 files changed

+1665
-591
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+1665
-591
lines changed

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ allprojects {
8080
dependencies {
8181
...
8282
//androidx project
83-
implementation 'com.github.xuexiangjys:XUI:1.1.8'
83+
implementation 'com.github.xuexiangjys:XUI:1.1.9'
8484
8585
implementation 'androidx.appcompat:appcompat:1.3.1'
8686
implementation 'androidx.recyclerview:recyclerview:1.2.1'
@@ -315,6 +315,27 @@ J*o | 10.24¥ | WeChat
315315
*维 | 5¥ | WeChat
316316
*鑫 | 188.88¥ | Alipay
317317
*玉 | 10¥ | Alipay
318+
**贺 | 100¥ | Alipay
319+
**伟 | 65¥ | Alipay
320+
*G | 1¥ | WeChat
321+
M*u | 10.24¥ | WeChat
322+
S*m | 10.24¥ | WeChat
323+
T*g | 15¥ | WeChat
324+
*边 | 10.24¥ | WeChat
325+
*寻 | 20.48¥ | WeChat
326+
*凉 | 10.24¥ | WeChat
327+
S*y | 10.24¥ | WeChat
328+
M*n | 1¥ | WeChat
329+
J*e | 10.24¥ | WeChat
330+
*、 | 10.24¥ | WeChat
331+
*) | 1¥ | WeChat
332+
X*? | 18.88¥ | WeChat
333+
*事 | 5¥ | WeChat
334+
*之 | 10¥ | WeChat
335+
*安 | 18.88¥ | WeChat
336+
*🎵 | 10.24¥ | WeChat
337+
*👔 | 10¥ | WeChat
338+
*洲 | 10¥ | WeChat
318339

319340
## Contact
320341

README_ZH.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ allprojects {
7878
dependencies {
7979
...
8080
//androidx项目
81-
implementation 'com.github.xuexiangjys:XUI:1.1.8'
81+
implementation 'com.github.xuexiangjys:XUI:1.1.9'
8282
8383
implementation 'androidx.appcompat:appcompat:1.3.1'
8484
implementation 'androidx.recyclerview:recyclerview:1.2.1'
@@ -309,6 +309,27 @@ J*o | 10.24¥ | 微信
309309
*维 | 5¥ | 微信
310310
*鑫 | 188.88¥ | 支付宝
311311
*玉 | 10¥ | 支付宝
312+
**贺 | 100¥ | 支付宝
313+
**伟 | 65¥ | 支付宝
314+
*G | 1¥ | 微信
315+
M*u | 10.24¥ | 微信
316+
S*m | 10.24¥ | 微信
317+
T*g | 15¥ | 微信
318+
*边 | 10.24¥ | 微信
319+
*寻 | 20.48¥ | 微信
320+
*凉 | 10.24¥ | 微信
321+
S*y | 10.24¥ | 微信
322+
M*n | 1¥ | 微信
323+
J*e | 10.24¥ | 微信
324+
*、 | 10.24¥ | 微信
325+
*) | 1¥ | 微信
326+
X*? | 18.88¥ | 微信
327+
*事 | 5¥ | 微信
328+
*之 | 10¥ | 微信
329+
*安 | 18.88¥ | 微信
330+
*🎵 | 10.24¥ | 微信
331+
*👔 | 10¥ | 微信
332+
*洲 | 10¥ | 微信
312333

313334
## 联系方式
314335

VersionAdapter.md

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
# Android版本简介
2+
3+
| Android 版本 | API 等级 | 版本代号 | 发布时间 |
4+
| :--------: | :-----: | :----------: | :------------------: |
5+
| Android 12 | 31 | S | 2021 年 10 月 4 日 |
6+
| Android 11 | 30 | R | 2020 年 9 月 9 日 |
7+
| Android 10 | 29 | Q | 2019 年 9 月 3 日 |
8+
| Android 9.0 | 28 | P | 2018 年 8 月 7 日 |
9+
| Android 8.1 | 27 | O_MR1 | 2017 年 12 月 5 日 |
10+
| Android 8.0 | 26 | O | 2017 年 8 月 22 日 |
11+
| Android 7.1 | 25 | N_MR1 | 2016 年 12 月 5 日 |
12+
| Android 7.0 | 24 | N | 2016 年 8 月 22 日 |
13+
| Android 6.0 | 23 | M | 2015 年 9 月 29 日 |
14+
| Android 5.1 | 22 | LOLLIPOP_MR1 | 2015 年 3 月 10 日 |
15+
| Android 5.0 | 21 | LOLLIPOP | 2014 年 10 月 15 日 |
16+
| Android 4.4 | 19 | KITKAT | 2013 年 10 月 31 日 |
17+
18+
# Android各版本重大变化说明
19+
20+
> 详细Android各版本变化可参见:[AndroidVersionAdapter](https://github.com/getActivity/AndroidVersionAdapter) 或者 [官方文档](https://developer.android.google.cn/about/versions)
21+
22+
## Android 12.0
23+
24+
* [启动画面](https://developer.android.google.cn/about/versions/12/features/splash-screen?hl=zh-cn)
25+
* [性能等级](https://developer.android.google.cn/about/versions/12/features/performance-class?hl=zh-cn)
26+
* [Android 12 中的新蓝牙权限](https://developer.android.google.cn/about/versions/12/features/bluetooth-permissions?hl=zh-cn)
27+
* [更安全的组件导出](https://developer.android.google.cn/about/versions/12/behavior-changes-12?hl=zh-cn#exported)
28+
* [自定义通知模板](https://developer.android.google.cn/about/versions/12/behavior-changes-12?hl=zh-cn#custom-notifications)
29+
* [通知 trampoline 限制](https://developer.android.google.cn/about/versions/12/behavior-changes-12?hl=zh-cn#notification-trampolines)
30+
* [前台服务启动限制](https://developer.android.google.cn/about/versions/12/behavior-changes-12?hl=zh-cn#foreground-service-launch-restrictions)
31+
* [应用无法关闭系统对话框](https://developer.android.google.cn/about/versions/12/behavior-changes-all?hl=zh-cn#close-system-dialogs)
32+
33+
## Android 11.0
34+
35+
* [强制执行分区存储](https://developer.android.google.cn/about/versions/11/privacy/storage?hl=zh-cn#scoped-storage)
36+
* [单次授权](https://developer.android.google.cn/about/versions/11/privacy/permissions?hl=zh-cn#one-time)
37+
* [系统提醒窗口权限](https://developer.android.google.cn/about/versions/11/privacy/permissions?hl=zh-cn#system-alert)
38+
* [在后台访问位置信息的权限](https://developer.android.google.cn/about/versions/11/privacy/location?hl=zh-cn#background-location)
39+
* [Toast后台显示限制](https://developer.android.google.cn/about/versions/11/behavior-changes-11?hl=zh-cn#toasts)
40+
41+
## Android 10.0
42+
43+
* [Android 10(Q)/11(R) 分区存储适配](https://juejin.cn/post/6862633674089693197)
44+
* [Android 10 深色主题适配](https://guolin.blog.csdn.net/article/details/106061657)
45+
* [Android 折叠屏适配攻略](https://juejin.cn/post/6844903889267867656)
46+
* [后台启动 Activity 的限制](https://juejin.cn/post/6844904073024503822#heading-13)
47+
* [限制非 SDK 接口](https://developer.android.google.cn/about/versions/10/behavior-changes-all?hl=zh-cn#non-sdk-restrictions)
48+
* [设备唯一标识符限制](https://juejin.cn/post/6844904073024503822#heading-20)
49+
* [5G 网络](https://developer.android.google.cn/about/versions/10/highlights?hl=zh-cn#5g_networks)
50+
51+
## Android 9.0
52+
53+
* [Apache HTTP 客户端弃用](https://developer.android.google.cn/about/versions/pie/android-9.0-changes-28?hl=zh-cn#apache-p)
54+
* [前台服务](https://developer.android.google.cn/about/versions/pie/android-9.0-changes-28?hl=zh-cn#fg-svc)
55+
* [不允许调用hide api](https://weishu.me/2019/03/16/another-free-reflection-above-android-p/)
56+
* [Android刘海屏适配](https://www.jianshu.com/p/561f7241153b)
57+
* [强制执行 `FLAG_ACTIVITY_NEW_TASK` 要求](https://developer.android.google.cn/about/versions/pie/android-9.0-changes-all?hl=zh-cn#fant-required)
58+
59+
## Android 8.0/8.1
60+
61+
* [通知全面重新设计(渠道等)](https://developer.android.google.cn/about/versions/oreo/android-8.0?hl=zh-cn#notifications)
62+
* [后台执行限制](https://developer.android.google.cn/about/versions/oreo/android-8.0-changes?hl=zh-cn#back-all)
63+
* 隐式广播限制
64+
* 开启后台Service限制
65+
* 应用安装REQUEST_INSTALL_PACKAGES权限
66+
* [自动填充框架](https://developer.android.google.cn/about/versions/oreo/android-8.0?hl=zh-cn#af)
67+
* [画中画模式](https://developer.android.google.cn/about/versions/oreo/android-8.0?hl=zh-cn#opip)
68+
* [自适应图标](https://developer.android.google.cn/about/versions/oreo/android-8.0?hl=zh-cn#ai)
69+
* [应用快捷键](https://developer.android.google.cn/about/versions/oreo/android-8.0-changes?hl=zh-cn#as)
70+
71+
## Android 7.0/7.1.1
72+
73+
* [多窗口支持](https://developer.android.google.cn/about/versions/nougat/android-7.0?hl=zh-cn#multi-window_support)
74+
* [配置文件指导的 JIT/AOT 编译](https://developer.android.google.cn/about/versions/nougat/android-7.0?hl=zh-cn#jit_aot)
75+
* [VR 支持](https://developer.android.google.cn/about/versions/nougat/android-7.0?hl=zh-cn#vr)
76+
* [应用快捷方式](https://developer.android.google.cn/about/versions/nougat/android-7.1?hl=zh-cn#shortcuts)
77+
* [在应用间共享文件FileProvider](https://developer.android.google.cn/about/versions/nougat/android-7.0-changes?hl=zh-cn#sharing-files)
78+
* [进一步的电池和内存优化](https://developer.android.google.cn/about/versions/nougat/android-7.0-changes?hl=zh-cn#perf)
79+
80+
## Android 6.0
81+
82+
* [运行时权限](https://developer.android.google.cn/about/versions/marshmallow/android-6.0-changes?hl=zh-cn#behavior-runtime-permissions)
83+
* [指纹身份验证](https://developer.android.google.cn/about/versions/marshmallow/android-6.0?hl=zh-cn#fingerprint-authentication)
84+
* [应用链接](https://developer.android.google.cn/about/versions/marshmallow/android-6.0?hl=zh-cn#app-linking)
85+
* [低电耗模式和应用待机模式(Doze电量管理)](https://developer.android.google.cn/about/versions/marshmallow/android-6.0-changes?hl=zh-cn#behavior-power)
86+
87+
## Android 5.0/5.1
88+
89+
* [Material Design支持](https://developer.android.google.cn/about/versions/android-5.0?hl=zh-cn#MaterialDesign)
90+
* [Android Runtime (ART)](https://developer.android.google.cn/about/versions/android-5.0-changes?hl=zh-cn#ART)
91+
* [WebView 更新](https://developer.android.google.cn/about/versions/android-5.0?hl=zh-cn#WebView)
92+
* [蓝牙低功耗](https://developer.android.google.cn/about/versions/android-5.0?hl=zh-cn#BluetoothBroadcasting)
93+
94+
## Android 4.4
95+
96+
* [Google打印框架](https://developer.android.google.cn/about/versions/android-4.4?hl=zh-cn#Printing)
97+
* [沉浸式全屏模式](https://developer.android.google.cn/about/versions/android-4.4?hl=zh-cn#ImmersiveMode)
98+
* [透明系统状态栏](https://developer.android.google.cn/about/versions/android-4.4?hl=zh-cn#TranslucentBars)
99+
* [可绘制的RTL布局镜像](https://developer.android.google.cn/about/versions/android-4.4?hl=zh-cn#DrawableMirroring)
100+
* [无障碍功能](https://developer.android.google.cn/about/versions/android-4.4?hl=zh-cn#A11y)
101+
102+
## Android 4.3
103+
104+
* BLE支持

app/build.gradle

Lines changed: 45 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ android {
1414
applicationId "com.xuexiang.xuidemo"
1515
minSdkVersion 17
1616
targetSdkVersion build_versions.target_sdk
17-
versionCode 19
18-
versionName "1.1.8"
17+
versionCode 20
18+
versionName "1.1.9"
1919

2020
multiDexEnabled true
2121
vectorDrawables.useSupportLibrary = true
@@ -102,119 +102,121 @@ dependencies {
102102
implementation 'com.google.android.material:material:1.4.0'
103103
implementation 'com.github.bumptech.glide:glide:4.12.0'
104104

105-
//XUI框架
106-
// implementation project(':xui_lib')
107-
implementation 'com.github.xuexiangjys:XUI:1.1.8'
105+
// XUI框架
106+
implementation project(':xui_lib')
107+
// implementation 'com.github.xuexiangjys:XUI:1.1.9'
108108
// implementation 'com.qmuiteam:qmui:1.2.0'
109109

110-
//工具类
110+
// 工具类
111111
implementation 'com.github.xuexiangjys.XUtil:xutil-core:2.0.0'
112112
implementation 'com.github.xuexiangjys.XUtil:xutil-sub:2.0.0'
113-
//切片
113+
// 切片
114114
implementation 'com.github.xuexiangjys.XAOP:xaop-runtime:1.1.0'
115-
//页面路由
115+
// 页面路由
116116
implementation 'com.github.xuexiangjys.XRouter:xrouter-runtime:1.0.1'
117117
annotationProcessor 'com.github.xuexiangjys.XRouter:xrouter-compiler:1.0.1'
118-
//XPage页面框架
119-
implementation 'com.github.xuexiangjys.XPage:xpage-lib:3.1.1'
118+
// XPage页面框架
119+
implementation 'com.github.xuexiangjys.XPage:xpage-lib:3.2.0'
120120
annotationProcessor project(':widget_compiler')
121-
//ButterKnife
121+
// ButterKnife
122122
implementation deps.butterknife.runtime
123123
annotationProcessor deps.butterknife.compiler
124124
// LeakCanary内存泄漏检测
125125
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.6'
126126

127-
//弹性布局
127+
// 弹性布局
128128
implementation 'com.google.android:flexbox:0.3.1'
129129
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
130-
//悬浮按钮
130+
// 悬浮按钮
131131
implementation 'com.github.clans:fab:1.6.4'
132-
//RxUtil2
132+
// RxUtil2
133133
implementation deps.rxjava2
134134
implementation deps.rxandroid
135-
//RxBinding的sdk
135+
// RxBinding的sdk
136136
implementation deps.rxbinding
137137
implementation 'com.github.xuexiangjys:RxUtil2:1.2.1'
138+
// 任务框架
139+
implementation 'com.github.xuexiangjys.XTask:xtask-core:1.0.0'
138140

139-
//PictureSelector图片选择
141+
// PictureSelector图片选择
140142
implementation 'com.github.xuexiangjys.PictureSelector:picture-core:1.0.5'
141143

142-
//下拉刷新
144+
// 下拉刷新
143145
implementation 'com.github.xuexiangjys.SmartRefreshLayout:refresh-header:1.1.5'
144146
implementation 'com.github.xuexiangjys.SmartRefreshLayout:refresh-layout:1.1.5'
145147

146-
//列表侧滑菜单
148+
// 列表侧滑菜单
147149
implementation 'com.yanzhenjie.recyclerview:support:1.3.2'
148150

149-
//预加载占位控件
151+
// 预加载占位控件
150152
implementation 'me.samlss:broccoli:1.0.0'
151153

152154
// //XVideo,太大,暂时去除
153155
// implementation 'com.github.xuexiangjys:XVideo:1.0.2'
154156
// implementation 'com.github.xuexiangjys:NiceVieoPlayer:3.0.3'
155157

156-
//WebView
158+
// WebView
157159
implementation 'com.github.xuexiangjys.AgentWeb:agentweb-core:1.0.0'
158160
implementation 'com.github.xuexiangjys.AgentWeb:agentweb-download:1.0.0'//选填
159161
implementation 'com.github.xuexiangjys.AgentWeb:agentweb-filechooser:1.0.0'//选填
160162

161-
//数据库
163+
// 数据库
162164
implementation 'com.github.xuexiangjys.XOrmlite:xormlite-runtime:1.0.2'
163165
annotationProcessor 'com.github.xuexiangjys.XOrmlite:xormlite-compiler:1.0.2'
164166

165-
//侧边栏菜单
167+
// 侧边栏菜单
166168
implementation 'com.yarolegovich:sliding-root-nav:1.1.0'
167169

168-
//XQRCode二维码扫描
170+
// XQRCode二维码扫描
169171
implementation 'com.github.xuexiangjys:XQRCode:1.1.0'
170-
//CityPicker
172+
// CityPicker
171173
implementation "com.github.xuexiangjys:CityPicker:1.0.2"
172-
//XFloatView悬浮窗口
174+
// XFloatView悬浮窗口
173175
implementation 'com.github.xuexiangjys:XFloatView:1.0.2'
174-
//android进程监控
176+
// android进程监控
175177
implementation 'com.jaredrummler:android-processes:1.1.1'
176178

177-
//Android图表库
179+
// Android图表库
178180
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
179-
//ECharts图表库
181+
// ECharts图表库
180182
implementation 'com.github.abel533:ECharts:3.0.0.2'
181-
//TabBar
183+
// TabBar
182184
implementation 'com.github.xuexiangjys:JPTabBar:1.0.1'
183-
//日历控件
185+
// 日历控件
184186
implementation 'com.github.xuexiangjys:CalendarExaple:1.0.1'
185187
implementation 'com.haibin:calendarview:3.6.3'
186-
//图标库
188+
// 图标库
187189
implementation "com.mikepenz:iconics-core:4.0.2"
188-
//图标库控件(可选)
190+
// 图标库控件(可选)
189191
implementation "com.mikepenz:iconics-views:4.0.2"
190-
//相机拍摄
192+
// 相机拍摄
191193
implementation 'com.github.xuexiangjys:CameraView:1.0.3'
192-
//另一款相机拍摄库,使用更简单
194+
// 另一款相机拍摄库,使用更简单
193195
implementation 'com.wonderkiln:camerakit:0.13.1'
194196

195-
//阿里巴巴组件
197+
// 阿里巴巴组件
196198
implementation 'com.alibaba.android:vlayout:1.3.0'
197199
implementation 'com.alibaba.android:ultraviewpager:1.0.7.8'
198200
implementation 'com.alibaba.android:tangram:3.3.6'
199-
//版本更新
200-
implementation 'com.github.xuexiangjys:XUpdate:2.0.9'
201+
// 版本更新
202+
implementation 'com.github.xuexiangjys:XUpdate:2.1.1'
201203
implementation 'com.zhy:okhttputils:2.6.2'
202204
implementation deps.gson
203205
implementation deps.okhttp3
204-
//腾讯的键值对存储mmkv
206+
// 腾讯的键值对存储mmkv
205207
implementation 'com.tencent:mmkv:1.2.10'
206-
//腾讯x5TBS
208+
// 腾讯x5TBS
207209
implementation 'com.tencent.tbs.tbssdk:sdk:43967'
208-
//富文本
210+
// 富文本
209211
implementation 'com.zzhoujay.richtext:richtext:3.0.8'
210212

211-
//双列表联动
213+
// 双列表联动
212214
implementation 'com.kunminx.linkage:linkage-recyclerview:1.9.2'
213215

214-
//umeng统计
216+
// umeng统计
215217
implementation 'com.umeng.umsdk:common:9.3.8'
216218
implementation 'com.umeng.umsdk:asms:1.2.1'
217219

218-
//ANR异常捕获
220+
// ANR异常捕获
219221
implementation 'com.github.anrwatchdog:anrwatchdog:1.4.0'
220222
}

app/proguard-rules.pro

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -325,9 +325,6 @@
325325
native <methods>;
326326
}
327327

328-
# materialedittext
329-
-keep class com.xuexiang.xui.widget.edittext.materialedittext.** { *; }
330-
331328
# vlayout
332329
-keepattributes InnerClasses
333330
-keep class com.alibaba.android.vlayout.ExposeLinearLayoutManagerEx { *; }

0 commit comments

Comments
 (0)