Created
April 12, 2022 09:34
-
-
Save JoseAlcerreca/a4f39e94d8237af3e20f0eb03ab95c08 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyViewModel(repository…) { | |
val data = flow{ | |
... | |
emitAll(repository.observeData()) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment