diff --git a/gradle.properties b/gradle.properties index 3cfe5174a..9c3ad6e61 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-alpha07 -QMUI_ARCH_VERSION=2.0.0-alpha07 +QMUI_VERSION=2.0.0-alpha08 +QMUI_ARCH_VERSION=2.0.0-alpha08 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 3057ca077..d501ce580 100644 --- a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java +++ b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java @@ -49,7 +49,8 @@ public class QDUpgradeManager { public static final int VERSION_2_0_0_alpha5 = -2005; public static final int VERSION_2_0_0_alpha6 = -2006; public static final int VERSION_2_0_0_alpha7 = -2007; - private static final int sCurrentVersion = VERSION_2_0_0_alpha7; + public static final int VERSION_2_0_0_alpha8 = -2008; + private static final int sCurrentVersion = VERSION_2_0_0_alpha8; 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 aa2601036..fa536858e 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_alpha7){ + if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha8){ + text.append("1. Feature: Add new widget QMUISeekBar.\n"); + text.append("2. Feature: Provide QMUIFragment#registerEffect to replace startFragmentForResult.\n"); + text.append("3. Feature: Provide QMUINavFragment to support child fragment navigation\n"); + text.append("4. Feature: Refactor swipe back to support muti direction.\n"); + text.append("5. Some bug fixes."); + }else 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.");