Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f67eb436 authored by Scott Main's avatar Scott Main
Browse files

docs: fix code snippet error

Change-Id: I5d65effce4a88af2cbf990276015ed24200037b5
parent 07cb8943
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -399,7 +399,7 @@ in the back stack:</p>
Fragment newFragment = new MyFragment();
FragmentTransaction ft = openFragmentTransaction();
// Replace and add to back stack
ft.replace(newFragment, R.id.myfragment);
ft.replace(R.id.myfragment, newFragment);
ft.addToBackStack(null);
// Apply changes
ft.commit();