修复首页-社区Tab重建后页面空白问题以及按返回键闪退问题

This commit is contained in:
lyr
2021-12-29 17:47:12 +08:00
parent cf1dc4e4f1
commit 5e4c451ccd
2 changed files with 25 additions and 12 deletions

View File

@ -167,6 +167,8 @@ public class MainWrapperFragment extends BaseFragment_ViewPager_Checkable implem
mGameWrapperFragment = (SearchToolWrapperFragment) fragment;
} else if (fragment instanceof HomeVideoFragment) {
homeVideoFragment = (HomeVideoFragment) fragment;
} else if (fragment instanceof CommunityHomeFragment) {
mCommunityHomeFragment = (CommunityHomeFragment) fragment;
}
}
return restoreFragments;