Commit 68e852c3 authored by mengcuiguang2's avatar mengcuiguang2

Merge branch 'dev_vedio_quwuxian_241122_wxsign' of...

Merge branch 'dev_vedio_quwuxian_241122_wxsign' of http://gitlab.mints-id.com/android/android_vedio into dev_vedio_quwuxian_241122_wxsign
parents 2e78ef28 041664cb
...@@ -263,9 +263,16 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR ...@@ -263,9 +263,16 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
DialogUtils.showDialog( DialogUtils.showDialog(
requireActivity(), requireActivity(),
SpanUtils() SpanUtils()
.append("如有问题请联系客服\n" + .append(
"4000969950") "如有问题请联系客服\n" +
.setForegroundColor(ContextCompat.getColor(requireContext(), R.color.tv_message_recente_money)) "4000969950"
)
.setForegroundColor(
ContextCompat.getColor(
requireContext(),
R.color.tv_message_recente_money
)
)
.create(), .create(),
"提示", "提示",
"确定", "确定",
...@@ -411,7 +418,17 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR ...@@ -411,7 +418,17 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
tabsData.addAll(data.list) tabsData.addAll(data.list)
if (tabsData.isNotEmpty()) { if (tabsData.isNotEmpty()) {
mSelectTabIndex = 0 mSelectTabIndex = 0
vpAdapter?.notifyDataSetChanged() vpAdapter?.run {
notifyDataSetChanged()
Handler(Looper.getMainLooper()).postDelayed({
if (getFragments().isNotEmpty()) {
val fragment = getFragments()[mSelectTabIndex]
if (fragment != null) {
(fragment as MovieFragment).onRefresh()
}
}
}, 200)
}
} }
} }
......
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