Aug 29, 2017 · 1 min read
I added:
@Override
public void onDestroyView()
{
super.onDestroyView();
mHasInflated = false;
}In a fragmentManager replace setup, for example with a navigationDrawer or bottomNavs this is called but onDetach is not. After onDestroyView is called onCreateView will be called again andit re-inflates the views.
Thoughts?
Thanks for the article