📜  获取房间数据库的实例 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:13.943000             🧑  作者: Mango

代码示例1
val db = Room.databaseBuilder(
    applicationContext,
    UserDatabase::class.java, "users-db"
    ).build()