Fragment Transactions
Fragment transaction methods are methods that add, remove, or replace fragments:
| Transition Type | APIs of FragmentTransaction Class |
|---|---|
| Add fragment | add(Fragment, String) add(int, Fragment) add(int, Fragment, String) attach(Fragment) show(Fragment) |
| Replace fragment | replace(int, Fragment) replace(int, Fragment, String) |
| Remove fragment | remove(Fragment) detach(Fragment) hide(Fragment) |