I have a small question about SQLDelight patterns....
# squarelibraries
a
I have a small question about SQLDelight patterns. If you have multiple views that need the same data from the DB, do you query it multiple times or do you share that data? If sharing, is there a pattern to share a Kotlin flow in multiple views and avoiding coupling?
m
I would say that it depends on your requirements, f.e. mobile app: what about battery? If you frequently query data instead of sharing might be cost intens.