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);
        }
    }
How to use MultiDex with a custom Application class? How to use MultiDex with a custom Application class? Reviewed by Anonymous on August 10, 2017 Rating: 5

No comments:

Java Ternary Operator

Java Ternary Operator Java ternary operator is the only conditional operator that takes three operands. Java ternary operator is a one l...

Powered by Blogger.