From e3ffc7e209925b590b57e752660de2c7ca7cff3d Mon Sep 17 00:00:00 2001 From: Scott Rowe Date: Tue, 12 Aug 2014 14:44:32 -0700 Subject: [PATCH] docs: update reference to FragmentRetainInstance Change-Id: I45cf1404a39f81b822716cef061d1463cfff84ca --- docs/html/guide/components/fragments.jd | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/html/guide/components/fragments.jd b/docs/html/guide/components/fragments.jd index 0cc5f7268f8a2..006539786dbca 100644 --- a/docs/html/guide/components/fragments.jd +++ b/docs/html/guide/components/fragments.jd @@ -363,9 +363,10 @@ UI, then the string tag is the only way to identify it. If you want to get the f activity later, you need to use {@link android.app.FragmentManager#findFragmentByTag findFragmentByTag()}.

-

For an example activity that uses a fragment as a background worker, without a UI, see the {@code -FragmentRetainInstance.java} sample.

+

For an example activity that uses a fragment as a background worker, without a UI, see the {@code +FragmentRetainInstance.java} sample, which is included in the SDK samples (available through the +Android SDK Manager) and located on your system as +<sdk_root>/APIDemos/app/src/main/java/com/example/android/apis/app/FragmentRetainInstance.java.