沉迷吃鸡,无法自拔
单例Application
class App : Application() {
companion object {
private var instance: Application? = null
fun instance() = instance!!
}
override fun onCreate() {
super.onCreate()
instance = this
}
}
Over 依旧是无敌的少主
少主保佑我明天吃鸡
网友评论