Back to project page Instabackground.
The source code is released under:
Apache License
If you think the Android project Instabackground listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package es.expilu.instabackground.util; // w ww . j a v a 2 s .c om import com.android.volley.RequestQueue; import com.squareup.otto.Bus; /** * Class used to implement singleton design pattern */ public class Globals { private static Globals instance; public RequestQueue requestQueue; public Bus eventBus; public static void initInstance() { if(instance == null) instance = new Globals(); } public static synchronized Globals getInstance() { initInstance(); return instance; } }