package j4ckall.rxflux; import android.app.Application; import j4ckall.rxflux.lib.flux.Dispatcher; /** * Application Class * * @author matsumoto_k */ public class App extends Application { private static App instance = null; private static final Dispatcher dispatcher = new Dispatcher(); @Override public void onCreate() { super.onCreate(); instance = this; } public static App get() { return instance; } public static Dispatcher getDispatcher() { return dispatcher; } }