summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Scott Rowe <scottrowe@google.com> 2014-10-16 16:56:54 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2014-10-16 16:56:55 +0000
commitab64919c0e683dcd0f32f95f580f0d95ce29476d (patch)
tree3305d053c669ee593395dd92eb83a2831e5ddaee
parent58c64870a8f3505d032ec7c5ac0fc4faba08347a (diff)
parente3ffc7e209925b590b57e752660de2c7ca7cff3d (diff)
Merge "docs: update reference to FragmentRetainInstance" into klp-modular-docs
-rw-r--r--docs/html/guide/components/fragments.jd7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/html/guide/components/fragments.jd b/docs/html/guide/components/fragments.jd
index 0cc5f7268f8a..006539786dbc 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()}.</p>
-<p>For an example activity that uses a fragment as a background worker, without a UI, see the <a
-href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/FragmentRetainInstance.html">{@code
-FragmentRetainInstance.java}</a> sample.</p>
+<p>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
+<code>&lt;sdk_root&gt;/APIDemos/app/src/main/java/com/example/android/apis/app/FragmentRetainInstance.java</code>.</p>