Commit 61817a2b authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 875a26f0
......@@ -10,8 +10,8 @@ android {
applicationId "com.duben.shortplay"
minSdkVersion rootProject.ext.androidMinSdkVersion
targetSdkVersion rootProject.ext.androidTargetSdkVersion
versionCode 1
versionName "1.0.0"
versionCode 2
versionName "1.0.1"
flavorDimensions "default"
// dex突破65535的限制
......
......@@ -264,7 +264,7 @@ class MobileLoginActivity : BaseActivity(), LoginView, View.OnClickListener {
val activity =
ActivityPageManager.getInstance().getActivity(MainActivity::class.java)
if (activity != null && activity is MainActivity) {
activity.clickTab3Layout()
activity.clickTab4Layout()
}
}
R.id.dialog_btn_right -> {
......
......@@ -166,7 +166,7 @@ class NinePayActivity : BaseActivity(), View.OnClickListener, NinePayView {
val activity =
ActivityPageManager.getInstance().getActivity(MainActivity::class.java)
if (activity != null && activity is MainActivity) {
activity.clickTab3Layout()
activity.clickTab4Layout()
}
}, 500)
} else {
......
......@@ -261,7 +261,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
val activity =
ActivityPageManager.getInstance().getActivity(MainActivity::class.java)
if (activity != null && activity is MainActivity) {
activity.clickTab3Layout()
activity.clickTab4Layout()
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment