Doc fix: update Displaying Bitmaps training class code snippet
Bug: 11372790 Change-Id: Ifb484b03ac4085eeccadb1602dace37690dc2d6b
This commit is contained in:
@@ -346,6 +346,7 @@ class RetainFragment extends Fragment {
|
||||
RetainFragment fragment = (RetainFragment) fm.findFragmentByTag(TAG);
|
||||
if (fragment == null) {
|
||||
fragment = new RetainFragment();
|
||||
fm.beginTransaction().add(fragment, TAG).commit();
|
||||
}
|
||||
return fragment;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user