Dave Scheck

04/06/2023, 10:02 PM
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
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.


04/07/2023, 8:03 AM
Hey, this is a workspace for the Kotlin programming language. For you general Android questions, see the links in the channel description.