Android Performance — Lazy inflating Fragment with ViewStub
Raymond Chan
32011

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