The UiState handling approach I like the most so far is the one used by the github project Dogiz :
1. there is a UiState sealed Interface + extention functions to map the Flow to the UiState
2. a UiStateWrapper that provides a unified view for every possible state
Nice, clean and efficient.
No comments:
Post a Comment