Visitar URL original
release qmui to 1.1.8 and release arch to 0.2.2 · GAndroidLibrary/QMUI_Android@7066ff9 · GitHub
Skip to content

Commit 7066ff9

Browse files
committed
release qmui to 1.1.8 and release arch to 0.2.2
1 parent 147b9fb commit 7066ff9

5 files changed

Lines changed: 15 additions & 7 deletions

File tree

‎arch/build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apply plugin: 'com.android.library'
22

33
group = 'com.qmuiteam'
4-
version = "0.2.1"
4+
version = "0.2.2"
55

66
android {
77

‎qmui/build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apply plugin: 'com.android.library'
22

33
group = 'com.qmuiteam'
4-
version = "1.1.7" // QMUI 发布到 bintray 的版本号
4+
version = "1.1.8" // QMUI 发布到 bintray 的版本号
55

66
//noinspection GroovyMissingReturnStatement
77
android {

‎qmuidemo/build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ android {
2525
minSdkVersion parent.ext.minSdkVersion
2626
targetSdkVersion parent.ext.targetSdkVersion
2727
versionCode gitVersion
28-
versionName "1.1.7"
28+
versionName "1.1.8"
2929
}
3030
buildTypes {
3131
debug {

‎qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ public class QDUpgradeManager {
1818
public static final int VERSION_1_1_5 = 115;
1919
public static final int VERSION_1_1_6 = 116;
2020
public static final int VERSION_1_1_7 = 117;
21-
private static final int sCurrentVersion = VERSION_1_1_7;
21+
public static final int VERSION_1_1_8 = 118;
22+
private static final int sCurrentVersion = VERSION_1_1_8;
2223
private static QDUpgradeManager sQDUpgradeManager = null;
2324
private UpgradeTipTask mUpgradeTipTask;
2425

‎qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,19 @@ private void appendBlockSpace(Context context, SpannableStringBuilder builder) {
4949

5050
public CharSequence getUpgradeWord(final Activity activity) {
5151
SpannableStringBuilder text = new SpannableStringBuilder();
52-
if(mNewVersion == QDUpgradeManager.VERSION_1_1_7){
52+
if (mNewVersion == QDUpgradeManager.VERSION_1_1_8) {
53+
text.append("1. Implemented QMUIWebView (beta), where supports for env(safe-area-inset-*) in css were added.\n");
54+
text.append("2. Feature: QMUIQQFaceView supports gravity(left/right/center-horizontal) attribute.\n");
55+
text.append("3. Feature: allows setting shadow color on Android ROM version 9 and higher.\n");
56+
text.append("4. Feature: allows control of the size of left icon in QMUIGroupListView.Section by calling the method setLeftIconSize.\n");
57+
text.append("5. Feature: supports custom web url matcher in QMUILinkify.\n");
58+
text.append("6. Fixed some bugs and increased code robustness.");
59+
} else if (mNewVersion == QDUpgradeManager.VERSION_1_1_7) {
5360
text.append("1. Improved QMUINotchHelper to support Xiaomi. \n");
5461
text.append("2. Improved drawing effect of QMUIQQFaceView. \n");
5562
text.append("3. Fixed a bug where UI would become unresponsive " +
5663
"if popBackStack was invoked during fragment transitions.");
57-
}else if(mNewVersion == QDUpgradeManager.VERSION_1_1_6){
64+
} else if (mNewVersion == QDUpgradeManager.VERSION_1_1_6) {
5865
text.append("1. Feature: QMUINotchHelper, a new helper class for notch compatibility. \n");
5966
appendBlockSpace(activity, text);
6067
text.append("2. Added \"more\" click event to QMUIQQFaceView.\n");
@@ -68,7 +75,7 @@ public CharSequence getUpgradeWord(final Activity activity) {
6875
"334", "352"
6976
};
7077
handleIssues(activity, text, issues);
71-
}else if (mNewVersion == QDUpgradeManager.VERSION_1_1_5) {
78+
} else if (mNewVersion == QDUpgradeManager.VERSION_1_1_5) {
7279
text.append("1. Code optimization for QMUIDialog.\n");
7380
appendBlockSpace(activity, text);
7481
text.append("2. Added a return value to KeyboardVisibilityEventListener, which " +

0 commit comments

Comments
 (0)