diff --git a/LibDialog/src/main/res/layout/mx_content_loading.xml b/LibDialog/src/main/res/layout/mx_content_loading.xml index acd64775f0b7001ae353f77e72750ed3b05f7e75..e80d7145c91b93fdfc2e61274ad1f1875bd0a76f 100644 --- a/LibDialog/src/main/res/layout/mx_content_loading.xml +++ b/LibDialog/src/main/res/layout/mx_content_loading.xml @@ -2,7 +2,6 @@ 2:xxx
3:xxx
1:xxx
2:xxx
3:xxx
1:xxx
2:xxx
3:xxx
4:xxx")) - setIUpgrade( - MXUpgradeImp( - "https://5a694755beae180ed219fdf5d2238691.rdt.tfogc.com:49156/dldir1.qq.com/weixin/android/weixin8022android2140_arm64.apk?mkey=6273e8db6676c7899fedb5fcebc4779b&arrive_key=302432739767&cip=175.10.24.12&proto=https", - this@MainActivity - ) - ) - -// setIndeterminateDrawable(resources.getDrawable(com.mx.dialog.R.drawable.mx_dialog_icon_error)) -// setMessage("我在加载中... ${MXProgressDialog.REPLACE_PROGRESS}") - }.show() +// MXUpgradeDialog(this).apply { +// setCancelable(true) +// setTitle("发现更新") +// setMessage(Html.fromHtml("1:xxx
2:xxx
3:xxx
1:xxx
2:xxx
3:xxx
1:xxx
2:xxx
3:xxx
4:xxx")) +// setIUpgrade( +// MXUpgradeImp( +// "https://5a694755beae180ed219fdf5d2238691.rdt.tfogc.com:49156/dldir1.qq.com/weixin/android/weixin8022android2140_arm64.apk?mkey=6273e8db6676c7899fedb5fcebc4779b&arrive_key=302432739767&cip=175.10.24.12&proto=https", +// this@MainActivity +// ) +// ) +// +//// setIndeterminateDrawable(resources.getDrawable(com.mx.dialog.R.drawable.mx_dialog_icon_error)) +//// setMessage("我在加载中... ${MXProgressDialog.REPLACE_PROGRESS}") +// }.show() + MXLoadingDialog(this).show() } fun showToast(view: View) { diff --git a/build.gradle b/build.gradle index f423acddb9807a1d8b1463ea6392ef14f942fc79..47ca88f524380ea7a63ca28794dc47641fa0d3ce 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = "1.7.10" + ext.kotlin_version = "1.7.20" repositories { maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.com/repository/public' } @@ -8,7 +8,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:7.3.0' + classpath 'com.android.tools.build:gradle:7.3.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0' @@ -34,5 +34,5 @@ ext { minSdkVersion = 19 versionCode = 1 - versionName = "1.5.8" + versionName = "1.5.9" } \ No newline at end of file