正在显示
2 个修改的文件
包含
11 行增加
和
5 行删除
.idea/vcs.xml
0 → 100644
@@ -48,18 +48,18 @@ abstract class BaseLifeCycleActivity<VM : BaseViewModel<*>,VB : ViewBinding>(pri | @@ -48,18 +48,18 @@ abstract class BaseLifeCycleActivity<VM : BaseViewModel<*>,VB : ViewBinding>(pri | ||
48 | 48 | ||
49 | 49 | ||
50 | open fun showLoading() { | 50 | open fun showLoading() { |
51 | - loadService.showCallback(LoadingCallBack::class.java) | 51 | +// loadService.showCallback(LoadingCallBack::class.java) |
52 | } | 52 | } |
53 | 53 | ||
54 | open fun showSuccess() { | 54 | open fun showSuccess() { |
55 | - loadService.showCallback(SuccessCallback::class.java) | 55 | +// loadService.showCallback(SuccessCallback::class.java) |
56 | } | 56 | } |
57 | 57 | ||
58 | open fun showError(msg: String) { | 58 | open fun showError(msg: String) { |
59 | if (!TextUtils.isEmpty(msg)) { | 59 | if (!TextUtils.isEmpty(msg)) { |
60 | Toast.makeText(this, msg, Toast.LENGTH_SHORT).show() | 60 | Toast.makeText(this, msg, Toast.LENGTH_SHORT).show() |
61 | } | 61 | } |
62 | - loadService.showCallback(ErrorCallBack::class.java) | 62 | +// loadService.showCallback(ErrorCallBack::class.java) |
63 | } | 63 | } |
64 | 64 | ||
65 | open fun showTip(msg: String) { | 65 | open fun showTip(msg: String) { |
@@ -72,11 +72,11 @@ abstract class BaseLifeCycleActivity<VM : BaseViewModel<*>,VB : ViewBinding>(pri | @@ -72,11 +72,11 @@ abstract class BaseLifeCycleActivity<VM : BaseViewModel<*>,VB : ViewBinding>(pri | ||
72 | // } | 72 | // } |
73 | // false | 73 | // false |
74 | // } | 74 | // } |
75 | - loadService.showCallback(SuccessCallback::class.java) | 75 | +// loadService.showCallback(SuccessCallback::class.java) |
76 | } | 76 | } |
77 | 77 | ||
78 | open fun showEmpty() { | 78 | open fun showEmpty() { |
79 | - loadService.showCallback(EmptyCallBack::class.java) | 79 | +// loadService.showCallback(EmptyCallBack::class.java) |
80 | } | 80 | } |
81 | 81 | ||
82 | /** | 82 | /** |
-
请 注册 或 登录 后发表评论