How to use MultiDex with a custom Application class?
public class BaseApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
// your custom code here
}
// Add multidex Code or other Application Class here
@Override
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
MultiDex.install(this);
}
}
public class BaseApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
// your custom code here
}
// Add multidex Code or other Application Class here
@Override
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
MultiDex.install(this);
}
}
How to use MultiDex with a custom Application class?
Reviewed by Anonymous
on
August 10, 2017
Rating:
No comments: