summaryrefslogtreecommitdiffstats
path: root/docs/html/training/volley/requestqueue.jd
diff options
context:
space:
mode:
Diffstat (limited to 'docs/html/training/volley/requestqueue.jd')
-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;