From 237bf6a033704c72e657184baaf15086fb6d200a Mon Sep 17 00:00:00 2001 From: cgspine Date: Mon, 8 Jun 2020 19:03:17 +0800 Subject: [PATCH] release to 2.0.0-alpha10 --- gradle.properties | 4 ++-- .../com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java | 3 ++- .../com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java | 8 +++++++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index 0cacd21cc..7bde42c52 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-alpha09 -QMUI_ARCH_VERSION=2.0.0-alpha09 +QMUI_VERSION=2.0.0-alpha10 +QMUI_ARCH_VERSION=2.0.0-alpha10 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 ce4e7a56f..79b99c055 100644 --- a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java +++ b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java @@ -51,7 +51,8 @@ public class QDUpgradeManager { public static final int VERSION_2_0_0_alpha7 = -2007; public static final int VERSION_2_0_0_alpha8 = -2008; public static final int VERSION_2_0_0_alpha9 = -2009; - private static final int sCurrentVersion = VERSION_2_0_0_alpha9; + public static final int VERSION_2_0_0_alpha10 = -2010; + private static final int sCurrentVersion = VERSION_2_0_0_alpha10; 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 feba6c143..83c19af40 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,13 @@ private void appendBlockSpace(Context context, SpannableStringBuilder builder) { public CharSequence getUpgradeWord(final Activity activity) { SpannableStringBuilder text = new SpannableStringBuilder(); - if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha9){ + if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha10){ + text.append("1. Feature: Added a new widget: QMUISchemeHandler.\n"); + text.append("2. Feature: Supported to remove section title if only one section in QMUIStickSectionAdapter.\n"); + text.append("3. Feature: Supported to add a QMUISkinApplyListener to View.\n"); + text.append("4. Feature: Add a boolean return value for QMUITabSegment#OnTabClickListener to decide to interrupt the event or not.\n"); + text.append("5. Some bug fixes."); + }else if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha9){ text.append("1. Some bug fixes."); }else if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha8){ text.append("1. Feature: Add new widget QMUISeekBar.\n");