转为新的list
This commit is contained in:
parent
153f385503
commit
9eed617b38
|
|
@ -271,7 +271,7 @@ class HomeFragment : AppViewsFragment<ViewBinding, UiState, ViewModel>(), OnSwit
|
|||
|
||||
override fun ViewBinding.onUiStateCollect(uiState: UiState) {
|
||||
showCurListInfo("------- before ---------")
|
||||
mViewPagerAdapter.submitList(uiState.playLists)
|
||||
mViewPagerAdapter.submitList(uiState.playLists?.toList())
|
||||
lifecycleScope.launch {
|
||||
showCurListInfo("------- after ---------")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue