SyntaxFix
Write A Post
Hire A Developer
Questions
In my case, detach and attach worked:
detach
attach
getSupportFragmentManager() .beginTransaction() .detach(contentFragment) .attach(contentFragment) .commit();