diff options
| author | 2014-10-16 16:56:54 +0000 | |
|---|---|---|
| committer | 2014-10-16 16:56:55 +0000 | |
| commit | ab64919c0e683dcd0f32f95f580f0d95ce29476d (patch) | |
| tree | 3305d053c669ee593395dd92eb83a2831e5ddaee | |
| parent | 58c64870a8f3505d032ec7c5ac0fc4faba08347a (diff) | |
| parent | e3ffc7e209925b590b57e752660de2c7ca7cff3d (diff) | |
Merge "docs: update reference to FragmentRetainInstance" into klp-modular-docs
| -rw-r--r-- | docs/html/guide/components/fragments.jd | 7 |
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><sdk_root>/APIDemos/app/src/main/java/com/example/android/apis/app/FragmentRetainInstance.java</code>.</p> |