Visitar URL original
release qmui to 1.1.11 and release arch to 0.3.0 · GAndroidLibrary/QMUI_Android@0f201f8 · GitHub
Skip to content

Commit 0f201f8

Browse files
committed
release qmui to 1.1.11 and release arch to 0.3.0
1 parent 415baf5 commit 0f201f8

6 files changed

Lines changed: 24 additions & 7 deletions

File tree

‎arch/build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apply plugin: 'com.android.library'
22

33
group = 'com.qmuiteam'
4-
version = "0.2.3"
4+
version = "0.3.0"
55

66
android {
77

‎qmui/build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apply plugin: 'com.android.library'
22

33
group = 'com.qmuiteam'
4-
version = "1.1.10" // QMUI 发布到 bintray 的版本号
4+
version = "1.1.11" // QMUI 发布到 bintray 的版本号
55

66
//noinspection GroovyMissingReturnStatement
77
android {

‎qmuidemo/build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ android {
2525
minSdkVersion parent.ext.minSdkVersion
2626
targetSdkVersion parent.ext.targetSdkVersion
2727
versionCode gitVersion
28-
versionName "1.1.10"
28+
versionName "1.1.11"
2929
}
3030
buildTypes {
3131
debug {

‎qmuidemo/src/main/java/com/qmuiteam/qmuidemo/fragment/components/qqface/QDQQFaceTestData.java‎

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,10 @@ public QDQQFaceTestData() {
3838
for (int i = 0; i < 100; i++) {
3939
String topic = "#表情[发呆][微笑]大战";
4040
String at = "@伟大的[发呆]工程师";
41-
String text = "index = " + i + " : " + at + ",人生就是要不断[微笑]\n[微笑][微笑][微笑][微笑][微笑][微笑][微笑][微笑][微笑][微笑]" +
42-
"[微笑][微笑][微笑][微笑][微笑][微笑][微笑][微笑][微笑][微笑][微笑][微笑]" +
41+
String url = "https://qmuiteam.com?abcdefchigklmnopqrst";
42+
String text = "index = " + i + " : " + at + ",人生就是要不断[微笑]\n[微笑][微笑][微笑][微笑]" +
43+
"[微笑][微笑][微笑][微笑][微笑][微笑][微笑][微笑][微笑][微笑][微笑]" +
44+
"[微笑][微笑]" + url + "[微笑][微笑][微笑][微笑][微笑][微笑][微笑]" +
4345
"[得意][微笑][撇嘴][色][微笑][得意][流泪][害羞][闭嘴][睡][微笑][微笑][微笑]" +
4446
"[微笑][微笑][惊讶][微笑][微笑][微笑][微笑][发怒][微笑]\n[微笑][微笑][微笑][微笑]" +
4547
"[微笑][微笑][微笑][微笑][微笑][微笑][微笑][微笑][调皮][微笑][微笑][微笑][微笑]" +
@@ -59,6 +61,15 @@ public void onSpanClick(View widget) {
5961
}
6062
}, text.indexOf(at), text.indexOf(at) + at.length(), Spanned.SPAN_INCLUSIVE_EXCLUSIVE);
6163

64+
65+
sb.setSpan(new QMUITouchableSpan(Color.RED, Color.BLACK, Color.YELLOW, Color.GREEN) {
66+
@Override
67+
public void onSpanClick(View widget) {
68+
Toast.makeText(widget.getContext(), "点击了url", Toast.LENGTH_SHORT).show();
69+
}
70+
}, text.indexOf(url), text.indexOf(url) + url.length(), Spanned.SPAN_INCLUSIVE_EXCLUSIVE);
71+
72+
6273
sb.setSpan(new QMUITouchableSpan(Color.RED, Color.BLACK, Color.YELLOW, Color.GREEN) {
6374
@Override
6475
public void onSpanClick(View widget) {

‎qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ public class QDUpgradeManager {
3737
public static final int VERSION_1_1_8 = 118;
3838
public static final int VERSION_1_1_9 = 119;
3939
public static final int VERSION_1_1_10 = 1110;
40-
private static final int sCurrentVersion = VERSION_1_1_10;
40+
public static final int VERSION_1_1_11 = 1111;
41+
private static final int sCurrentVersion = VERSION_1_1_11;
4142
private static QDUpgradeManager sQDUpgradeManager = null;
4243
private UpgradeTipTask mUpgradeTipTask;
4344

‎qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,12 @@ private void appendBlockSpace(Context context, SpannableStringBuilder builder) {
6565

6666
public CharSequence getUpgradeWord(final Activity activity) {
6767
SpannableStringBuilder text = new SpannableStringBuilder();
68-
if (mNewVersion == QDUpgradeManager.VERSION_1_1_10) {
68+
if(mNewVersion == QDUpgradeManager.VERSION_1_1_11){
69+
text.append("1. Updated arch library to 0.3.0. Now developer must update support library to 28 or use androidx.\n");
70+
text.append("2. Feature: Added custom typeface support in QMUITabSegment.\n");
71+
text.append("3. Fixed a bug that QMUICollapsingTopBarLayout will lose title if swipe back.\n");
72+
text.append("4. Fixed a bug that span click event is not triggered in QMUIQQFaceView. #473\n");
73+
}else if (mNewVersion == QDUpgradeManager.VERSION_1_1_10) {
6974
text.append("1. Simplified the use of QMUIWebContainer.\n");
7075
text.append("2. Refactored QMUITabSegment to handle operations such as reducing item.\n");
7176
} else if (mNewVersion == QDUpgradeManager.VERSION_1_1_9) {

0 commit comments

Comments
 (0)