RoomDatabase
instance is fairly expensive, and you rarely need access to multiple instances within a single process." (source)But I finally found this:
E.g. the beginning of the Database.java:
Incrementally migrate from SQLite to Room, which has an example that describes that the entities are entered as a list.
@Database(entities = {list goes here}, version = 1)
No comments:
Post a Comment