From 8b5acd079670984c2890f09e51eb021880f0e89e Mon Sep 17 00:00:00 2001 From: cgspine Date: Wed, 1 Apr 2020 20:28:54 +0800 Subject: [PATCH] release to 2.0.0-alpha06. --- gradle.properties | 4 ++-- .../com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java | 4 +++- .../java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java | 7 ++++++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index 2894eac14..b51c67998 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-alpha05 -QMUI_ARCH_VERSION=2.0.0-alpha05 +QMUI_VERSION=2.0.0-alpha06 +QMUI_ARCH_VERSION=2.0.0-alpha06 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 ab52cf1d8..52f04d6f4 100644 --- a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java +++ b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java @@ -46,7 +46,9 @@ public class QDUpgradeManager { public static final int VERSION_2_0_0_alpha2 = -2002; public static final int VERSION_2_0_0_alpha3 = -2003; public static final int VERSION_2_0_0_alpha4 = -2004; - private static final int sCurrentVersion = VERSION_2_0_0_alpha4; + 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; 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 5559bdaf1..fbddf6b7a 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,12 @@ private void appendBlockSpace(Context context, SpannableStringBuilder builder) { public CharSequence getUpgradeWord(final Activity activity) { SpannableStringBuilder text = new SpannableStringBuilder(); - if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha4){ + 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 default support for skin.\n"); + text.append("3. QMUILayout support radius which is half of the view height or width.\n"); + text.append("4. Some bug fixes."); + }else if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha4){ text.append("1. Features: Add new widget: QMUIPullLayout.\n"); text.append("2. Features: Add new widget: QMUIRVItemSwipeAction.\n"); text.append("3. Support muti instance for QMUISkinManager.\n");