Fix the crash that occurs on navigating back to the main fragment.
This commit is contained in:
parent
1cc9179f39
commit
9e61da1398
4 changed files with 33 additions and 25 deletions
|
|
@ -117,11 +117,6 @@ public class MainFragment extends BaseFragment implements TabLayout.OnTabSelecte
|
|||
public void onDestroy() {
|
||||
super.onDestroy();
|
||||
tabsManager.unsetSavedTabsListener();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDestroyView() {
|
||||
super.onDestroyView();
|
||||
if (binding != null) {
|
||||
binding.pager.setAdapter(null);
|
||||
binding = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue