summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRobert Schaub <rschaub@google.com>2015-06-26 20:00:51 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-06-26 20:00:51 +0000
commitcf05e31866e94eb9d8a6f0ee1fb9960ba169e2c1 (patch)
tree7ffe9a4ef7b5de78cebcd397d801f620b36b8ac3 /docs
parent834672285050812d08cd173559382bc5c3e9800a (diff)
parent2a1be1bc387a97e86dac4d77d269d07eff71de41 (diff)
downloadframeworks_base-cf05e31866e94eb9d8a6f0ee1fb9960ba169e2c1.zip
frameworks_base-cf05e31866e94eb9d8a6f0ee1fb9960ba169e2c1.tar.gz
frameworks_base-cf05e31866e94eb9d8a6f0ee1fb9960ba169e2c1.tar.bz2
am 2a1be1bc: Docs: Added declaration to code fragment Bug: 21030774
* commit '2a1be1bc387a97e86dac4d77d269d07eff71de41': 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 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;