Skip to content

Commit

Permalink
Merge pull request #133 from xuexiangjys/dev/1.1.9
Browse files Browse the repository at this point in the history
Dev/1.1.9
  • Loading branch information
xuexiangjys committed Feb 28, 2022
2 parents 88fa132 + 3fbbbe9 commit 21b391c
Show file tree
Hide file tree
Showing 86 changed files with 1,665 additions and 591 deletions.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ allprojects {
dependencies {
...
//androidx project
implementation 'com.github.xuexiangjys:XUI:1.1.8'
implementation 'com.github.xuexiangjys:XUI:1.1.9'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
Expand Down Expand Up @@ -315,6 +315,27 @@ J*o | 10.24¥ | WeChat
*维 | 5¥ | WeChat
*鑫 | 188.88¥ | Alipay
*玉 | 10¥ | Alipay
**贺 | 100¥ | Alipay
**伟 | 65¥ | Alipay
*G | 1¥ | WeChat
M*u | 10.24¥ | WeChat
S*m | 10.24¥ | WeChat
T*g | 15¥ | WeChat
*边 | 10.24¥ | WeChat
*寻 | 20.48¥ | WeChat
*凉 | 10.24¥ | WeChat
S*y | 10.24¥ | WeChat
M*n | 1¥ | WeChat
J*e | 10.24¥ | WeChat
*、 | 10.24¥ | WeChat
*) | 1¥ | WeChat
X*? | 18.88¥ | WeChat
*事 | 5¥ | WeChat
*之 | 10¥ | WeChat
*安 | 18.88¥ | WeChat
*🎵 | 10.24¥ | WeChat
*👔 | 10¥ | WeChat
*洲 | 10¥ | WeChat

## Contact

Expand Down
23 changes: 22 additions & 1 deletion README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ allprojects {
dependencies {
...
//androidx项目
implementation 'com.github.xuexiangjys:XUI:1.1.8'
implementation 'com.github.xuexiangjys:XUI:1.1.9'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
Expand Down Expand Up @@ -309,6 +309,27 @@ J*o | 10.24¥ | 微信
*维 | 5¥ | 微信
*鑫 | 188.88¥ | 支付宝
*玉 | 10¥ | 支付宝
**贺 | 100¥ | 支付宝
**伟 | 65¥ | 支付宝
*G | 1¥ | 微信
M*u | 10.24¥ | 微信
S*m | 10.24¥ | 微信
T*g | 15¥ | 微信
*边 | 10.24¥ | 微信
*寻 | 20.48¥ | 微信
*凉 | 10.24¥ | 微信
S*y | 10.24¥ | 微信
M*n | 1¥ | 微信
J*e | 10.24¥ | 微信
*、 | 10.24¥ | 微信
*) | 1¥ | 微信
X*? | 18.88¥ | 微信
*事 | 5¥ | 微信
*之 | 10¥ | 微信
*安 | 18.88¥ | 微信
*🎵 | 10.24¥ | 微信
*👔 | 10¥ | 微信
*洲 | 10¥ | 微信

## 联系方式

Expand Down
104 changes: 104 additions & 0 deletions VersionAdapter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
# Android版本简介

| Android 版本 | API 等级 | 版本代号 | 发布时间 |
| :--------: | :-----: | :----------: | :------------------: |
| Android 12 | 31 | S | 2021 年 10 月 4 日 |
| Android 11 | 30 | R | 2020 年 9 月 9 日 |
| Android 10 | 29 | Q | 2019 年 9 月 3 日 |
| Android 9.0 | 28 | P | 2018 年 8 月 7 日 |
| Android 8.1 | 27 | O_MR1 | 2017 年 12 月 5 日 |
| Android 8.0 | 26 | O | 2017 年 8 月 22 日 |
| Android 7.1 | 25 | N_MR1 | 2016 年 12 月 5 日 |
| Android 7.0 | 24 | N | 2016 年 8 月 22 日 |
| Android 6.0 | 23 | M | 2015 年 9 月 29 日 |
| Android 5.1 | 22 | LOLLIPOP_MR1 | 2015 年 3 月 10 日 |
| Android 5.0 | 21 | LOLLIPOP | 2014 年 10 月 15 日 |
| Android 4.4 | 19 | KITKAT | 2013 年 10 月 31 日 |

# Android各版本重大变化说明

> 详细Android各版本变化可参见:[AndroidVersionAdapter](https://github.com/getActivity/AndroidVersionAdapter) 或者 [官方文档](https://developer.android.google.cn/about/versions)
## Android 12.0

* [启动画面](https://developer.android.google.cn/about/versions/12/features/splash-screen?hl=zh-cn)
* [性能等级](https://developer.android.google.cn/about/versions/12/features/performance-class?hl=zh-cn)
* [Android 12 中的新蓝牙权限](https://developer.android.google.cn/about/versions/12/features/bluetooth-permissions?hl=zh-cn)
* [更安全的组件导出](https://developer.android.google.cn/about/versions/12/behavior-changes-12?hl=zh-cn#exported)
* [自定义通知模板](https://developer.android.google.cn/about/versions/12/behavior-changes-12?hl=zh-cn#custom-notifications)
* [通知 trampoline 限制](https://developer.android.google.cn/about/versions/12/behavior-changes-12?hl=zh-cn#notification-trampolines)
* [前台服务启动限制](https://developer.android.google.cn/about/versions/12/behavior-changes-12?hl=zh-cn#foreground-service-launch-restrictions)
* [应用无法关闭系统对话框](https://developer.android.google.cn/about/versions/12/behavior-changes-all?hl=zh-cn#close-system-dialogs)

## Android 11.0

* [强制执行分区存储](https://developer.android.google.cn/about/versions/11/privacy/storage?hl=zh-cn#scoped-storage)
* [单次授权](https://developer.android.google.cn/about/versions/11/privacy/permissions?hl=zh-cn#one-time)
* [系统提醒窗口权限](https://developer.android.google.cn/about/versions/11/privacy/permissions?hl=zh-cn#system-alert)
* [在后台访问位置信息的权限](https://developer.android.google.cn/about/versions/11/privacy/location?hl=zh-cn#background-location)
* [Toast后台显示限制](https://developer.android.google.cn/about/versions/11/behavior-changes-11?hl=zh-cn#toasts)

## Android 10.0

* [Android 10(Q)/11(R) 分区存储适配](https://juejin.cn/post/6862633674089693197)
* [Android 10 深色主题适配](https://guolin.blog.csdn.net/article/details/106061657)
* [Android 折叠屏适配攻略](https://juejin.cn/post/6844903889267867656)
* [后台启动 Activity 的限制](https://juejin.cn/post/6844904073024503822#heading-13)
* [限制非 SDK 接口](https://developer.android.google.cn/about/versions/10/behavior-changes-all?hl=zh-cn#non-sdk-restrictions)
* [设备唯一标识符限制](https://juejin.cn/post/6844904073024503822#heading-20)
* [5G 网络](https://developer.android.google.cn/about/versions/10/highlights?hl=zh-cn#5g_networks)

## Android 9.0

* [Apache HTTP 客户端弃用](https://developer.android.google.cn/about/versions/pie/android-9.0-changes-28?hl=zh-cn#apache-p)
* [前台服务](https://developer.android.google.cn/about/versions/pie/android-9.0-changes-28?hl=zh-cn#fg-svc)
* [不允许调用hide api](https://weishu.me/2019/03/16/another-free-reflection-above-android-p/)
* [Android刘海屏适配](https://www.jianshu.com/p/561f7241153b)
* [强制执行 `FLAG_ACTIVITY_NEW_TASK` 要求](https://developer.android.google.cn/about/versions/pie/android-9.0-changes-all?hl=zh-cn#fant-required)

## Android 8.0/8.1

* [通知全面重新设计(渠道等)](https://developer.android.google.cn/about/versions/oreo/android-8.0?hl=zh-cn#notifications)
* [后台执行限制](https://developer.android.google.cn/about/versions/oreo/android-8.0-changes?hl=zh-cn#back-all)
* 隐式广播限制
* 开启后台Service限制
* 应用安装REQUEST_INSTALL_PACKAGES权限
* [自动填充框架](https://developer.android.google.cn/about/versions/oreo/android-8.0?hl=zh-cn#af)
* [画中画模式](https://developer.android.google.cn/about/versions/oreo/android-8.0?hl=zh-cn#opip)
* [自适应图标](https://developer.android.google.cn/about/versions/oreo/android-8.0?hl=zh-cn#ai)
* [应用快捷键](https://developer.android.google.cn/about/versions/oreo/android-8.0-changes?hl=zh-cn#as)

## Android 7.0/7.1.1

* [多窗口支持](https://developer.android.google.cn/about/versions/nougat/android-7.0?hl=zh-cn#multi-window_support)
* [配置文件指导的 JIT/AOT 编译](https://developer.android.google.cn/about/versions/nougat/android-7.0?hl=zh-cn#jit_aot)
* [VR 支持](https://developer.android.google.cn/about/versions/nougat/android-7.0?hl=zh-cn#vr)
* [应用快捷方式](https://developer.android.google.cn/about/versions/nougat/android-7.1?hl=zh-cn#shortcuts)
* [在应用间共享文件FileProvider](https://developer.android.google.cn/about/versions/nougat/android-7.0-changes?hl=zh-cn#sharing-files)
* [进一步的电池和内存优化](https://developer.android.google.cn/about/versions/nougat/android-7.0-changes?hl=zh-cn#perf)

## Android 6.0

* [运行时权限](https://developer.android.google.cn/about/versions/marshmallow/android-6.0-changes?hl=zh-cn#behavior-runtime-permissions)
* [指纹身份验证](https://developer.android.google.cn/about/versions/marshmallow/android-6.0?hl=zh-cn#fingerprint-authentication)
* [应用链接](https://developer.android.google.cn/about/versions/marshmallow/android-6.0?hl=zh-cn#app-linking)
* [低电耗模式和应用待机模式(Doze电量管理)](https://developer.android.google.cn/about/versions/marshmallow/android-6.0-changes?hl=zh-cn#behavior-power)

## Android 5.0/5.1

* [Material Design支持](https://developer.android.google.cn/about/versions/android-5.0?hl=zh-cn#MaterialDesign)
* [Android Runtime (ART)](https://developer.android.google.cn/about/versions/android-5.0-changes?hl=zh-cn#ART)
* [WebView 更新](https://developer.android.google.cn/about/versions/android-5.0?hl=zh-cn#WebView)
* [蓝牙低功耗](https://developer.android.google.cn/about/versions/android-5.0?hl=zh-cn#BluetoothBroadcasting)

## Android 4.4

* [Google打印框架](https://developer.android.google.cn/about/versions/android-4.4?hl=zh-cn#Printing)
* [沉浸式全屏模式](https://developer.android.google.cn/about/versions/android-4.4?hl=zh-cn#ImmersiveMode)
* [透明系统状态栏](https://developer.android.google.cn/about/versions/android-4.4?hl=zh-cn#TranslucentBars)
* [可绘制的RTL布局镜像](https://developer.android.google.cn/about/versions/android-4.4?hl=zh-cn#DrawableMirroring)
* [无障碍功能](https://developer.android.google.cn/about/versions/android-4.4?hl=zh-cn#A11y)

## Android 4.3

* BLE支持
88 changes: 45 additions & 43 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ android {
applicationId "com.xuexiang.xuidemo"
minSdkVersion 17
targetSdkVersion build_versions.target_sdk
versionCode 19
versionName "1.1.8"
versionCode 20
versionName "1.1.9"

multiDexEnabled true
vectorDrawables.useSupportLibrary = true
Expand Down Expand Up @@ -102,119 +102,121 @@ dependencies {
implementation 'com.google.android.material:material:1.4.0'
implementation 'com.github.bumptech.glide:glide:4.12.0'

//XUI框架
// implementation project(':xui_lib')
implementation 'com.github.xuexiangjys:XUI:1.1.8'
// XUI框架
implementation project(':xui_lib')
// implementation 'com.github.xuexiangjys:XUI:1.1.9'
// implementation 'com.qmuiteam:qmui:1.2.0'

//工具类
// 工具类
implementation 'com.github.xuexiangjys.XUtil:xutil-core:2.0.0'
implementation 'com.github.xuexiangjys.XUtil:xutil-sub:2.0.0'
//切片
// 切片
implementation 'com.github.xuexiangjys.XAOP:xaop-runtime:1.1.0'
//页面路由
// 页面路由
implementation 'com.github.xuexiangjys.XRouter:xrouter-runtime:1.0.1'
annotationProcessor 'com.github.xuexiangjys.XRouter:xrouter-compiler:1.0.1'
//XPage页面框架
implementation 'com.github.xuexiangjys.XPage:xpage-lib:3.1.1'
// XPage页面框架
implementation 'com.github.xuexiangjys.XPage:xpage-lib:3.2.0'
annotationProcessor project(':widget_compiler')
//ButterKnife
// ButterKnife
implementation deps.butterknife.runtime
annotationProcessor deps.butterknife.compiler
// LeakCanary内存泄漏检测
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.6'

//弹性布局
// 弹性布局
implementation 'com.google.android:flexbox:0.3.1'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
//悬浮按钮
// 悬浮按钮
implementation 'com.github.clans:fab:1.6.4'
//RxUtil2
// RxUtil2
implementation deps.rxjava2
implementation deps.rxandroid
//RxBinding的sdk
// RxBinding的sdk
implementation deps.rxbinding
implementation 'com.github.xuexiangjys:RxUtil2:1.2.1'
// 任务框架
implementation 'com.github.xuexiangjys.XTask:xtask-core:1.0.0'

//PictureSelector图片选择
// PictureSelector图片选择
implementation 'com.github.xuexiangjys.PictureSelector:picture-core:1.0.5'

//下拉刷新
// 下拉刷新
implementation 'com.github.xuexiangjys.SmartRefreshLayout:refresh-header:1.1.5'
implementation 'com.github.xuexiangjys.SmartRefreshLayout:refresh-layout:1.1.5'

//列表侧滑菜单
// 列表侧滑菜单
implementation 'com.yanzhenjie.recyclerview:support:1.3.2'

//预加载占位控件
// 预加载占位控件
implementation 'me.samlss:broccoli:1.0.0'

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

//WebView
// WebView
implementation 'com.github.xuexiangjys.AgentWeb:agentweb-core:1.0.0'
implementation 'com.github.xuexiangjys.AgentWeb:agentweb-download:1.0.0'//选填
implementation 'com.github.xuexiangjys.AgentWeb:agentweb-filechooser:1.0.0'//选填

//数据库
// 数据库
implementation 'com.github.xuexiangjys.XOrmlite:xormlite-runtime:1.0.2'
annotationProcessor 'com.github.xuexiangjys.XOrmlite:xormlite-compiler:1.0.2'

//侧边栏菜单
// 侧边栏菜单
implementation 'com.yarolegovich:sliding-root-nav:1.1.0'

//XQRCode二维码扫描
// XQRCode二维码扫描
implementation 'com.github.xuexiangjys:XQRCode:1.1.0'
//CityPicker
// CityPicker
implementation "com.github.xuexiangjys:CityPicker:1.0.2"
//XFloatView悬浮窗口
// XFloatView悬浮窗口
implementation 'com.github.xuexiangjys:XFloatView:1.0.2'
//android进程监控
// android进程监控
implementation 'com.jaredrummler:android-processes:1.1.1'

//Android图表库
// Android图表库
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
//ECharts图表库
// ECharts图表库
implementation 'com.github.abel533:ECharts:3.0.0.2'
//TabBar
// TabBar
implementation 'com.github.xuexiangjys:JPTabBar:1.0.1'
//日历控件
// 日历控件
implementation 'com.github.xuexiangjys:CalendarExaple:1.0.1'
implementation 'com.haibin:calendarview:3.6.3'
//图标库
// 图标库
implementation "com.mikepenz:iconics-core:4.0.2"
//图标库控件(可选)
// 图标库控件(可选)
implementation "com.mikepenz:iconics-views:4.0.2"
//相机拍摄
// 相机拍摄
implementation 'com.github.xuexiangjys:CameraView:1.0.3'
//另一款相机拍摄库,使用更简单
// 另一款相机拍摄库,使用更简单
implementation 'com.wonderkiln:camerakit:0.13.1'

//阿里巴巴组件
// 阿里巴巴组件
implementation 'com.alibaba.android:vlayout:1.3.0'
implementation 'com.alibaba.android:ultraviewpager:1.0.7.8'
implementation 'com.alibaba.android:tangram:3.3.6'
//版本更新
implementation 'com.github.xuexiangjys:XUpdate:2.0.9'
// 版本更新
implementation 'com.github.xuexiangjys:XUpdate:2.1.1'
implementation 'com.zhy:okhttputils:2.6.2'
implementation deps.gson
implementation deps.okhttp3
//腾讯的键值对存储mmkv
// 腾讯的键值对存储mmkv
implementation 'com.tencent:mmkv:1.2.10'
//腾讯x5TBS
// 腾讯x5TBS
implementation 'com.tencent.tbs.tbssdk:sdk:43967'
//富文本
// 富文本
implementation 'com.zzhoujay.richtext:richtext:3.0.8'

//双列表联动
// 双列表联动
implementation 'com.kunminx.linkage:linkage-recyclerview:1.9.2'

//umeng统计
// umeng统计
implementation 'com.umeng.umsdk:common:9.3.8'
implementation 'com.umeng.umsdk:asms:1.2.1'

//ANR异常捕获
// ANR异常捕获
implementation 'com.github.anrwatchdog:anrwatchdog:1.4.0'
}
3 changes: 0 additions & 3 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,6 @@
native <methods>;
}

# materialedittext
-keep class com.xuexiang.xui.widget.edittext.materialedittext.** { *; }

# vlayout
-keepattributes InnerClasses
-keep class com.alibaba.android.vlayout.ExposeLinearLayoutManagerEx { *; }
Expand Down
Loading

0 comments on commit 21b391c

Please sign in to comment.