GiuseppeS fcf1b03172 Completato class router.
Implementata versione base della distribuzione collo V.
2019-02-13 10:02:23 +01:00

43 lines
1.2 KiB
Java

package it.integry.integrywmsnative;
import android.app.Application;
import android.content.res.Configuration;
import android.content.res.Resources;
import it.integry.integrywmsnative.core.context.AppContext;
public class MainApplication extends Application {
public static Resources res;
private AppContext appContext = new AppContext(this);
// Called when the application is starting, before any other application objects have been created.
// Overriding this method is totally optional!
@Override
public void onCreate() {
super.onCreate();
appContext.init();
//Stash.init(this);
res = getResources();
}
// Called by the system when the device configuration changes while your component is running.
// Overriding this method is totally optional!
@Override
public void onConfigurationChanged(Configuration newConfig) {
super.onConfigurationChanged(newConfig);
}
// This is called when the overall system is running low on memory,
// and would like actively running processes to tighten their belts.
// Overriding this method is totally optional!
@Override
public void onLowMemory() {
super.onLowMemory();
}
}