Skip to content

Commit

Permalink
release to 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cgspine committed Jun 6, 2019
1 parent 8010439 commit cde3a1b
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 6 deletions.
2 changes: 1 addition & 1 deletion arch/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.library'

group = 'com.qmuiteam'
version = "0.4.0"
version = "0.5.0"

android {

Expand Down
2 changes: 1 addition & 1 deletion qmui/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.library'

group = 'com.qmuiteam'
version = "1.2.0" // QMUI 发布到 bintray 的版本号
version = "1.3.1" // QMUI 发布到 bintray 的版本号

//noinspection GroovyMissingReturnStatement
android {
Expand Down
2 changes: 1 addition & 1 deletion qmuidemo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ android {
minSdkVersion parent.ext.minSdkVersion
targetSdkVersion parent.ext.targetSdkVersion
versionCode gitVersion
versionName "1.2.0"
versionName "1.3.1"
}
buildTypes {
debug {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@

@Widget(group = Group.Lab,
widgetClass = QMUIContinuousNestedScrollLayout.class,
iconRes = R.mipmap.icon_grid_in_progress)
iconRes = R.mipmap.icon_grid_in_progress,
docUrl ="https://github.com/Tencent/QMUI_Android/wiki/QMUIContinuousNestedScrollLayout")
public class QDContinuousNestedScrollFragment extends BaseFragment {

@BindView(R.id.topbar)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ public class QDUpgradeManager {
public static final int VERSION_1_1_11 = 1111;
public static final int VERSION_1_1_12 = 1112;
public static final int VERSION_1_2_0 = 120;
private static final int sCurrentVersion = VERSION_1_2_0;
public static final int VERSION_1_3_1 = 131;
private static final int sCurrentVersion = VERSION_1_3_1;
private static QDUpgradeManager sQDUpgradeManager = null;
private UpgradeTipTask mUpgradeTipTask;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import com.qmuiteam.qmuidemo.QDMainActivity;
import com.qmuiteam.qmuidemo.R;
import com.qmuiteam.qmuidemo.fragment.components.section.QDSectionLayoutFragment;
import com.qmuiteam.qmuidemo.fragment.lab.QDContinuousNestedScrollFragment;

public class UpgradeTipTask implements UpgradeTask {
private final int mOldVersion;
Expand Down Expand Up @@ -66,7 +67,25 @@ private void appendBlockSpace(Context context, SpannableStringBuilder builder) {

public CharSequence getUpgradeWord(final Activity activity) {
SpannableStringBuilder text = new SpannableStringBuilder();
if (mNewVersion == QDUpgradeManager.VERSION_1_2_0) {
if(mNewVersion == QDUpgradeManager.VERSION_1_3_1){
text.append("1. ");
addNewWidget(activity, text, "QMUIContinuousNestedScrollLayout",
QDDataManager.getInstance().getDocUrl(QDContinuousNestedScrollFragment.class));
text.append("\n");
text.append("2. ");
addNewWidget(activity, text, "QMUIRadiusImageView2",
QDDataManager.getInstance().getDocUrl(QDContinuousNestedScrollFragment.class));
text.append("Implemented with QMUILayout.\n");
text.append("3. Updated arch library to 0.5.0. Fixed issues on new androidx version.\n");
text.append("4. Features: QMUIQQFaceView supports paragraph space when ellipsize at the end.\n");
text.append("5. Features: QMUITabSegment supports space weight.\n");
text.append("6. Features: QMUIPullRefreshLayout added method setRefreshDirectly().\n");
text.append("7. Fixed issues: ");
final String[] issues = new String[]{
"562", "563", "563"
};
handleIssues(activity, text, issues);
} else if (mNewVersion == QDUpgradeManager.VERSION_1_2_0) {
text.append("1. ");
addNewWidget(activity, text, "QMUIStickySectionLayout",
QDDataManager.getInstance().getDocUrl(QDSectionLayoutFragment.class));
Expand Down

0 comments on commit cde3a1b

Please sign in to comment.