修改包名+1
This commit is contained in:
parent
ff2eab0da9
commit
3b51532a34
|
|
@ -117,7 +117,7 @@ class HomeFragment : AppViewsFragment<ViewBinding, UiState, ViewModel>(), OnSwit
|
|||
}
|
||||
|
||||
override fun ViewBinding.onUiStateCollect(uiState: UiState) {
|
||||
val videoList = mutableListOf<YoutubeVideo>()
|
||||
/*val videoList = mutableListOf<YoutubeVideo>()
|
||||
if (uiState.playLists == null) {
|
||||
videoList.add(YoutubeVideo("TegalxCm1LA", "111", "bbbbb"))
|
||||
videoList.add(YoutubeVideo("KA54UCs3E_4", "222", "bbbbb"))
|
||||
|
|
@ -130,8 +130,8 @@ class HomeFragment : AppViewsFragment<ViewBinding, UiState, ViewModel>(), OnSwit
|
|||
videoList.add(YoutubeVideo("1sXHOCQcbwc", "999", "bbbbb"))
|
||||
mViewPagerAdapter.submitList(videoList)
|
||||
return
|
||||
}
|
||||
//mViewPagerAdapter.submitList(uiState.playLists)
|
||||
}*/
|
||||
mViewPagerAdapter.submitList(uiState.playLists)
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue