Skip to content

Commit

Permalink
release to 2.0.0-alpha11
Browse files Browse the repository at this point in the history
  • Loading branch information
cgspine committed Dec 7, 2020
1 parent d524205 commit ecdfab8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ android.useAndroidX=true
android.enableJetifier=true

GROUP=com.qmuiteam
QMUI_VERSION=2.0.0-alpha10
QMUI_ARCH_VERSION=2.0.0-alpha10
QMUI_VERSION=2.0.0-alpha11
QMUI_ARCH_VERSION=2.0.0-alpha11
QMUI_LINT_VERSION = 1.1.0
QMUI_SKIN_MAKER_VERSION = 0.0.1
QMUI_TYPE_VERSION = 0.0.1
QMUI_TYPE_VERSION = 0.0.3
POM_GIT_URL=https://github.com/Tencent/QMUI_Android/
POM_SITE_URL=https://qmuiteam.com/android
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ public class QDUpgradeManager {
public static final int VERSION_2_0_0_alpha8 = -2008;
public static final int VERSION_2_0_0_alpha9 = -2009;
public static final int VERSION_2_0_0_alpha10 = -2010;
private static final int sCurrentVersion = VERSION_2_0_0_alpha10;
public static final int VERSION_2_0_0_alpha11 = -2011;
private static final int sCurrentVersion = VERSION_2_0_0_alpha11;
private static QDUpgradeManager sQDUpgradeManager = null;
private UpgradeTipTask mUpgradeTipTask;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import androidx.core.content.ContextCompat;
import android.text.SpannableStringBuilder;
import android.text.Spanned;
import android.view.View;

import androidx.core.content.ContextCompat;

import com.qmuiteam.qmui.skin.QMUISkinManager;
import com.qmuiteam.qmui.span.QMUIBlockSpaceSpan;
import com.qmuiteam.qmui.span.QMUITouchableSpan;
Expand Down Expand Up @@ -70,7 +71,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_alpha10){
if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha11){
text.append("1. Feature: Added a new widget: QMUINavFragment.\n");
text.append("2. Remove LazyLifecycle, use maxLifecycle for replacement.\n");
text.append("3. Some bug fixes.\n");
}else 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");
Expand Down

0 comments on commit ecdfab8

Please sign in to comment.