summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Schaub <rschaub@google.com>2015-06-26 11:11:19 -0700
committerRobert Schaub <rschaub@google.com>2015-06-26 11:11:19 -0700
commit2a1be1bc387a97e86dac4d77d269d07eff71de41 (patch)
treeacdf99d9f731978ddcbd549f5b477c020f4a5be3
parentfd3b64b8aa0aa974bcc69340e426cc0da92e71ae (diff)
downloadframeworks_base-2a1be1bc387a97e86dac4d77d269d07eff71de41.zip
frameworks_base-2a1be1bc387a97e86dac4d77d269d07eff71de41.tar.gz
frameworks_base-2a1be1bc387a97e86dac4d77d269d07eff71de41.tar.bz2
Docs: Added declaration to code fragment
Bug: 21030774 Change-Id: Ic906454b20ec9606e5ca11a0fbd0388492eecf42
-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 6858d91..63c743a 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;