summaryrefslogtreecommitdiffstats
path: root/docs/html
diff options
context:
space:
mode:
authorScott Rowe <scottrowe@google.com>2014-10-16 18:23:42 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-10-16 18:23:42 +0000
commit447369f2d2b02f78d01d4a4923fedfca96c1950f (patch)
tree9e2d605a37ea793d61e38c0e6a2020602f74c06f /docs/html
parent7e19b402c6651112a56ab8569ea53a7004a3a552 (diff)
parenta1e3063ebe04c8c304f48a02117085962f75cb63 (diff)
downloadframeworks_base-447369f2d2b02f78d01d4a4923fedfca96c1950f.zip
frameworks_base-447369f2d2b02f78d01d4a4923fedfca96c1950f.tar.gz
frameworks_base-447369f2d2b02f78d01d4a4923fedfca96c1950f.tar.bz2
am a1e3063e: am ab64919c: Merge "docs: update reference to FragmentRetainInstance" into klp-modular-docs
* commit 'a1e3063ebe04c8c304f48a02117085962f75cb63': docs: update reference to FragmentRetainInstance
Diffstat (limited to 'docs/html')
-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 0cc5f72..0065397 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>