ITGungnir/KotlinWanAndroid

App类优化建议

Closed this issue · 0 comments

你好,我看到app继承自MultiDexApplication,并且重写了override fun attachBaseContext(base: Context?),因MultiDexApplication中默认会重写attachBaseContext方法,故这里可以删掉App类中的attachBaseContext方法,或者删掉super.attachBaseContext(base)的调用