Doc fix: update Displaying Bitmaps training class code snippet

Bug: 11372790

Change-Id: Ifb484b03ac4085eeccadb1602dace37690dc2d6b
This commit is contained in:
Adam Koch
2013-10-25 10:14:55 -04:00
parent 5504537e74
commit 7c900126c4

View File

@@ -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;
}