- package org.ntlab.developrx
- import android.app.Application
- /**
- * Created by matsumoto_k on 2017/11/11.
- */
- class App : Application() {
- companion object {
- lateinit private var instance: App
- fun get() = instance
- }
- override fun onCreate() {
- super.onCreate()
- instance = this
- }
- }