fix: 修复首页推送相关闪退问题
This commit is contained in:
@ -207,8 +207,8 @@ class HomeFragment : LazyFragment() {
|
||||
}
|
||||
|
||||
fun getHomeSlideBackgroundView(): View? {
|
||||
val view = mBinding.gameList.layoutManager?.findViewByPosition(0)
|
||||
return view?.findViewById(R.id.placeholderView)
|
||||
val homeSlideView = view?.findViewById<RecyclerView>(R.id.game_list)?.layoutManager?.findViewByPosition(0)
|
||||
return homeSlideView?.findViewById(R.id.placeholderView)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user