I have two questions:
I want to remove all fragments in back-stack when user come back to main page. However when I call following statement there is a flickering on the main page.
fragmentManager.popBackStack(null, FragmentManager.POP_BACK_STACK_INCLUSIVE);
how to remove this flickering? I tried the method here no luck. Pop the fragment backstack without playing the Pop-Animation*
In fragment transition i use replace method. But in some transitions I dont want to reload the entire data when user presses the back button. To implement this I used hide() and add() methods. When this is done above back-stack remove process becomes really bad with so many animations.
Is there a best practice to implement this?