Back to project page android-grid-wichterle.
The source code is released under:
Apache License
If you think the Android project android-grid-wichterle 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 eu.inmite.android.gridwichterle; /*ww w . j av a2s . c om*/ import android.app.Application; import eu.inmite.android.gridwichterle.core.Config; /** * Created with IntelliJ IDEA. * User: Michal Matl (michal.matl@inmite.eu) * Date: 10/12/13 * Time: 10:53 PM */ public class App extends Application { private Config mConfig; @Override public Object getSystemService(String name) { if (Config.class.getName().equals(name)) { if (mConfig == null) { mConfig = new Config(getApplicationContext()); } return mConfig; } return super.getSystemService(name); } }