Skip to content
Fragment Transactions and Back Stack: What Happens When You Add, Replace and Press Back? – Mohit Kansal – Medium
- Fragment A is shown.
- You add Fragment B to the top of Fragment A.
- Press back while on Fragment B.
- Fragment A should reappear because Fragment B was added to the back stack.