|
19 | 19 | import android.app.Activity; |
20 | 20 | import android.content.Context; |
21 | 21 | import android.content.Intent; |
22 | | -import androidx.core.content.ContextCompat; |
23 | 22 | import android.text.SpannableStringBuilder; |
24 | 23 | import android.text.Spanned; |
25 | 24 | import android.view.View; |
26 | 25 |
|
| 26 | +import androidx.core.content.ContextCompat; |
| 27 | + |
27 | 28 | import com.qmuiteam.qmui.skin.QMUISkinManager; |
28 | 29 | import com.qmuiteam.qmui.span.QMUIBlockSpaceSpan; |
29 | 30 | import com.qmuiteam.qmui.span.QMUITouchableSpan; |
@@ -70,7 +71,11 @@ private void appendBlockSpace(Context context, SpannableStringBuilder builder) { |
70 | 71 |
|
71 | 72 | public CharSequence getUpgradeWord(final Activity activity) { |
72 | 73 | SpannableStringBuilder text = new SpannableStringBuilder(); |
73 | | - if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha10){ |
| 74 | + if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha11){ |
| 75 | + text.append("1. Feature: Added a new widget: QMUINavFragment.\n"); |
| 76 | + text.append("2. Remove LazyLifecycle, use maxLifecycle for replacement.\n"); |
| 77 | + text.append("3. Some bug fixes.\n"); |
| 78 | + }else if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha10){ |
74 | 79 | text.append("1. Feature: Added a new widget: QMUISchemeHandler.\n"); |
75 | 80 | text.append("2. Feature: Supported to remove section title if only one section in QMUIStickSectionAdapter.\n"); |
76 | 81 | text.append("3. Feature: Supported to add a QMUISkinApplyListener to View.\n"); |
|
0 commit comments