summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRobert Schaub <rschaub@google.com>2015-06-26 22:58:37 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-06-26 22:58:37 +0000
commit71647af1ee991c278f00b622ad6fb7ed9c227e0e (patch)
treea848388ad913b29e4bc62078fc6b019b94dffe55 /docs
parent0adc5f3794d1800f8cc00ccdeebb810a4bdb2c87 (diff)
parentcf05e31866e94eb9d8a6f0ee1fb9960ba169e2c1 (diff)
downloadframeworks_base-71647af1ee991c278f00b622ad6fb7ed9c227e0e.zip
frameworks_base-71647af1ee991c278f00b622ad6fb7ed9c227e0e.tar.gz
frameworks_base-71647af1ee991c278f00b622ad6fb7ed9c227e0e.tar.bz2
am cf05e318: am 2a1be1bc: Docs: Added declaration to code fragment Bug: 21030774
* commit 'cf05e31866e94eb9d8a6f0ee1fb9960ba169e2c1': Docs: Added declaration to code fragment Bug: 21030774
Diffstat (limited to 'docs')
-rw-r--r--docs/html/training/volley/requestqueue.jd3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/html/training/volley/requestqueue.jd b/docs/html/training/volley/requestqueue.jd
index 5e892bf..6d19cee 100644
--- a/docs/html/training/volley/requestqueue.jd
+++ b/docs/html/training/volley/requestqueue.jd
@@ -139,7 +139,8 @@ rotates the device).
<p>Here is an example of a singleton class that provides {@code RequestQueue} and
{@code ImageLoader} functionality:</p>
-<pre>private static MySingleton mInstance;
+<pre>public class MySingleton {
+ private static MySingleton mInstance;
private RequestQueue mRequestQueue;
private ImageLoader mImageLoader;
private static Context mCtx;