android popbackstack to specific fragment

Solutions on MaxInterview for android popbackstack to specific fragment by the best coders in the world

showing results for - "android popbackstack to specific fragment"
Kayle
25 Oct 2019
1FragmentManager.popBackStack(int, int). When you commit your fragment transaction, the method returns an identifier for  You should not add your first fragment to the backstack, as pressing the return key will just reverse the action you did.