when you map db to domain objects, which are then passed to the ui
say list of domain foos
now you want to go to foo detail screen to view a foo
what do you pass in as argument? foo id and then query db + map to domain Foo in the foo detail screen?
if so, what if the app is mixed local + remote data, i.e. from foo list screens are fetched from remote, you dont have them in db, so, cannot query them...
have domain foo implement Parcelable? 🥵