From ca34a301650db52d11c0557f117b77c8506fbbca Mon Sep 17 00:00:00 2001 From: cgspine Date: Mon, 6 Apr 2020 21:40:09 +0800 Subject: [PATCH] release to 2.0.0-alpha07. --- gradle.properties | 4 ++-- .../com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java | 3 ++- .../java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java | 6 +++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index b51c67998..3cfe5174a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -22,8 +22,8 @@ android.useAndroidX=true android.enableJetifier=true GROUP=com.qmuiteam -QMUI_VERSION=2.0.0-alpha06 -QMUI_ARCH_VERSION=2.0.0-alpha06 +QMUI_VERSION=2.0.0-alpha07 +QMUI_ARCH_VERSION=2.0.0-alpha07 QMUI_LINT_VERSION = 1.1.0 QMUI_SKIN_MAKER_VERSION = 0.0.1 POM_GIT_URL=https://github.com/Tencent/QMUI_Android/ diff --git a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java index 52f04d6f4..3057ca077 100644 --- a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java +++ b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java @@ -48,7 +48,8 @@ public class QDUpgradeManager { public static final int VERSION_2_0_0_alpha4 = -2004; public static final int VERSION_2_0_0_alpha5 = -2005; public static final int VERSION_2_0_0_alpha6 = -2006; - private static final int sCurrentVersion = VERSION_2_0_0_alpha6; + public static final int VERSION_2_0_0_alpha7 = -2007; + private static final int sCurrentVersion = VERSION_2_0_0_alpha7; private static QDUpgradeManager sQDUpgradeManager = null; private UpgradeTipTask mUpgradeTipTask; diff --git a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java index 863f54b3a..aa2601036 100644 --- a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java +++ b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java @@ -70,7 +70,11 @@ private void appendBlockSpace(Context context, SpannableStringBuilder builder) { public CharSequence getUpgradeWord(final Activity activity) { SpannableStringBuilder text = new SpannableStringBuilder(); - if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha6){ + if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha7){ + text.append("1. Add OnProgressChangeListener for QMUIProgressBar.\n"); + text.append("2. Add skin support for CompoundButton.\n"); + text.append("3. Some bug fixes."); + }else if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha6){ text.append("1. Features: Add new widget QMUITabSegment2 to support ViewPager2.\n"); text.append("2. Remove the skin's default usage.\n"); text.append("3. QMUILayout support radius which is half of the view height or width.\n");