diff --git a/app/src/main/kotlin/jackall/moncalc/App.kt b/app/src/main/kotlin/jackall/moncalc/App.kt index e19bc6a..f559c23 100644 --- a/app/src/main/kotlin/jackall/moncalc/App.kt +++ b/app/src/main/kotlin/jackall/moncalc/App.kt @@ -4,6 +4,7 @@ import android.app.Activity import android.app.Application import android.os.Bundle +import io.realm.Realm /** * Created by matsumoto_k on 2017/11/01. @@ -20,6 +21,7 @@ override fun onCreate() { super.onCreate() instance = this + Realm.init(this) registerActivityLifecycleCallbacks(object : Application.ActivityLifecycleCallbacks { override fun onActivityCreated(activity: Activity, saveInstanceState: Bundle?) {