Hi, can be the Android application context initialization built-in by default, because the method:
class MyApplication : Application() {
companion object {
lateinit var INSTANCE: MyApplication
}
override fun onCreate() {
super.onCreate()
INSTANCE = this
AppContext.apply { set(applicationContext) }
}
}
is a bit tricky to set up and a snippet that can be natively integrated by the library providing it ready to use without external code