| | |
| | | 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 |
| | | |
| | |
| | | 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 |