Does anybody have a good reference for creating ex...
# android
d
Does anybody have a good reference for creating extensible Room databases? We have a hierarchy of customized products that need to use all of the tables from the parent and then add some of their own. We were able to accomplish this in the legacy database framework by overriding the functionality in the
SQLiteOpenHelper
's
onCreate
method. In looking into Room, since everything is defined within annotations, we're unclear if we can achieve the same type of layering. This is a simplified view of the hierarchy we're looking for. For example, in Customization1 we'd want to have the three tables. One of our other main concerns is migration and how Room treats the versions at each level. Any suggestions are welcomed.
not kotlin but kotlin colored 3
c
Hey, this is a workspace for the Kotlin programming language. For you general Android questions, see the links in the channel description.