homefrag flag 设置1
This commit is contained in:
parent
3ffa288046
commit
fa18c550ed
|
|
@ -39,6 +39,7 @@ import com.gamedog.vididin.youtubestatistic.RewardConst
|
|||
import com.gamedog.vididin.youtubestatistic.RewardConst.Companion.Check_Interval_MS
|
||||
import com.remax.bill.ads.AdResult
|
||||
import com.remax.bill.ads.ext.AdShowExt
|
||||
import com.remax.notification.BuildConfig
|
||||
import com.viddin.videos.free.R
|
||||
import dagger.hilt.android.AndroidEntryPoint
|
||||
import kotlinx.coroutines.launch
|
||||
|
|
@ -271,10 +272,13 @@ class HomeFragment : AppViewsFragment<ViewBinding, UiState, ViewModel>(), OnSwit
|
|||
override fun ViewBinding.onUiStateCollect(uiState: UiState) {
|
||||
showCurListInfo("------- before ---------")
|
||||
mViewPagerAdapter.submitList(uiState.playLists)
|
||||
lifecycleScope.launch {
|
||||
showCurListInfo("------- after ---------")
|
||||
}
|
||||
}
|
||||
|
||||
private fun showCurListInfo(tag: String) {
|
||||
if (BuildConfig.DEBUG) {
|
||||
val allList = mViewPagerAdapter.getCurrentList()
|
||||
var allInfos = tag + " Total= ${allList.size}\n"
|
||||
allList.forEach {
|
||||
|
|
@ -283,6 +287,7 @@ class HomeFragment : AppViewsFragment<ViewBinding, UiState, ViewModel>(), OnSwit
|
|||
|
||||
Log.e("hahah", allInfos)
|
||||
}
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
super.onResume()
|
||||
|
|
|
|||
Loading…
Reference in New Issue