AkshayChordiya / News

A sample News 🗞 app built using Modern Android Development [Architecture Components, Coroutines, Retrofit, Room, Kotlin, Dagger]
MIT License
848 stars 166 forks source link

How to handle ViewState.error #51

Open Macrox14 opened 3 years ago

Macrox14 commented 3 years ago

Hello, any tips how to handle ViewState.error? I tried emit(ViewState.error("Error")) But I dont know how to stop the flow there