Use Operators and Channels | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/9147615-kotlin-flow-getting-started/lessons/13

I do not think I will use retrofit nor the room database in our app, due to using graphql as our backend. I would have loved an example that used some other fetching implementation, maybe showing how to encapsulate other datasources with some good error handling.
Many other examples I can find out there use retrofit and room, so it would be nice with a single example of something else.

Would it be a valid approach for me to use the ViewModel catch statement as the only error handling?

Thanks for the nice course.