Browse Source

1.增加dialogX初始化

20241218TB223FC(测试jar包)
wangwanlei 8 months ago
parent
commit
9ffc2330f8
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      app/src/main/java/com/xhly/manageapp/ManageApplication.kt

+ 2
- 0
app/src/main/java/com/xhly/manageapp/ManageApplication.kt View File

@@ -9,6 +9,7 @@ import android.os.Build
9 9
 import androidx.core.content.ContextCompat
10 10
 import androidx.multidex.MultiDexApplication
11 11
 import com.hjq.toast.Toaster
12
+import com.kongzue.dialogx.DialogX
12 13
 import com.xhly.corelib.Const
13 14
 import com.xhly.corelib.utils.GsonUtils
14 15
 import com.xhly.corelib.utils.LogShow
@@ -586,6 +587,7 @@ class ManageApplication : MultiDexApplication() {
586 587
         val currentSpUtils by lazy { CurrentAppSharedPreferencesUtils.getInstance(this) }
587 588
         val exitControlFlag = currentSpUtils.getParam(Const.EXIT_CONTROL, false) as Boolean
588 589
         Toaster.init(this)
590
+        DialogX.init(this)
589 591
         //如果解除管控为真,则不在执行以下代码
590 592
         try {
591 593
             val userBean = spUtils.getFromJson(

Loading…
Cancel
Save