You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When interacting with nested fragments instead of using getSupportFragmentManager we must always use getChildFragmentManager instead. Failure to do so causes obscure issues on app suspend / resume (inner fragment unloads on app resume) due to the fact that inner fragments cannot be removed properly as their parent fragment has already been removed. Moreover, it seems that when child fragment manager is used Android is smart enough to remove child fragments automatically when parent fragment is removed.
The text was updated successfully, but these errors were encountered:
When interacting with nested fragments instead of using getSupportFragmentManager we must always use getChildFragmentManager instead. Failure to do so causes obscure issues on app suspend / resume (inner fragment unloads on app resume) due to the fact that inner fragments cannot be removed properly as their parent fragment has already been removed. Moreover, it seems that when child fragment manager is used Android is smart enough to remove child fragments automatically when parent fragment is removed.
The text was updated successfully, but these errors were encountered: