odaridavid / Clean-MVVM-ArchComponents

👽 Built with MVVM pattern, Koin , Coroutines + Flows ,Architecture Components, Data Binding , Firebase , Unit/UI Tests ,Motion Layout
https://play.google.com/store/apps/details?id=com.k0d4black.theforce
Apache License 2.0
691 stars 112 forks source link

Kotlin Flows #134

Open LinusMuema opened 3 years ago

LinusMuema commented 3 years ago

Some operations like deleting and writing the local database do not need a return of flow since they are "one-time" operations. For reading the database, it would be okay since the flows would notify you of any change in the database but the former methods can have simple int returns.

odaridavid commented 3 years ago

Will give this theory a test run as I work on #133