Vivekpanchal64
03/02/2022, 6:28 AMRoom.databaseBuilder(
get(),
AppDatabase::class.java,
APP_DATABASE
)
.createFromAsset("app.db")
.fallbackToDestructiveMigration()
.build()
the problem I am facing is that. when user adds his own data it got inserted correctly and displayed on my screen. when I move app to the background and remove it from there and reopen the application. I don't se my data and only the default data is present there.
any help would be appreciatedRagupathy Mani
03/02/2022, 9:29 AMVivekpanchal64
03/02/2022, 9:31 AM