MainApplication class used as a global context crashes if declared in Kotlin vs Java

前端 未结 0 1178
借酒劲吻你
借酒劲吻你 2020-11-27 22:42

I have a MainApplication class declared in the AndroidManifest.xml that I used as a global context for my app sharedPreferences.

if I declare my Main

相关标签:
回答
  • 消灭零回复
提交回复
热议问题