From fe04012057d024770e0180543483d393281a542f Mon Sep 17 00:00:00 2001 From: zhujie <leon.zhu@cloudroam.com.cn> Date: 星期四, 03 四月 2025 09:18:16 +0800 Subject: [PATCH] Merge branch 'master' of http://47.96.225.205:8888/r/FirstApp2 --- app/src/main/java/com/example/firstapp/core/Core.kt | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/app/src/main/java/com/example/firstapp/core/Core.kt b/app/src/main/java/com/example/firstapp/core/Core.kt index f1f55b4..6a18b64 100644 --- a/app/src/main/java/com/example/firstapp/core/Core.kt +++ b/app/src/main/java/com/example/firstapp/core/Core.kt @@ -4,7 +4,9 @@ import androidx.work.Configuration import com.example.firstapp.App import com.example.firstapp.database.repository.CodeRepository +import com.example.firstapp.database.repository.KeywordRepository import com.example.firstapp.database.repository.MsgRepository +import com.example.firstapp.database.repository.ReminderRepository import kotlinx.coroutines.launch @@ -13,6 +15,8 @@ val msg: MsgRepository by lazy { (app as App).msgRepository } val code: CodeRepository by lazy { (app as App).codeRepository } + val keyword: KeywordRepository by lazy { (app as App).keywordRepository } + val reminder: ReminderRepository by lazy { (app as App).reminderRepository } fun init(app: Application) { this.app = app -- Gitblit v1.9.3