Skip to content Skip to sidebar Skip to footer

Fragments Behaviour: Fragmenttransaction::replace() And Reverse Backstack Operation

I call this method to go forward from AFrag to BFrag: showFragment() { FragmentTransaction fragmentTransaction = mFragmentMgr.beginTransaction(); // Add fragment to the c

Solution 1:

have you tried to use an other method, like remove(), then do an add(). or anything similar? I saw on some other post that the replace() method does not always behave correctly.


Post a Comment for "Fragments Behaviour: Fragmenttransaction::replace() And Reverse Backstack Operation"