Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a1be1bc authored by Robert Schaub's avatar Robert Schaub
Browse files

Docs: Added declaration to code fragment

Bug: 21030774

Change-Id: Ic906454b20ec9606e5ca11a0fbd0388492eecf42
parent fd3b64b8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;