Breaking News

How to use MultiDex with a custom Application class?

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);
        }
    }

No comments