ghedeon
09/09/2019, 2:02 PMSingleLiveData
? I remember they've created it and were discouraging its usage after.gvetri
09/09/2019, 2:20 PMdewildte
09/09/2019, 2:41 PMdewildte
09/09/2019, 2:41 PMdewildte
09/09/2019, 2:42 PMdewildte
09/09/2019, 2:42 PMdewildte
09/09/2019, 2:43 PMgvetri
09/09/2019, 4:00 PMrkeazor
09/18/2019, 11:08 AMghedeon
09/18/2019, 11:24 AMdewildte
09/18/2019, 11:43 AMdewildte
09/18/2019, 11:45 AMFlow
into the state object itself?dewildte
09/18/2019, 11:47 AMFlow
can also be hot.dewildte
09/18/2019, 11:48 AMFlow
it would be ok.rkeazor
09/18/2019, 12:26 PMrkeazor
09/18/2019, 12:27 PMrkeazor
09/18/2019, 12:45 PMdewildte
09/18/2019, 2:50 PMFlow
in the state object could be an elegant way to attach the needed series of
events associated to that state. But only if it's a cold Flow
, a Flow
emitting from a channel is NOT OK IMHO. If you could guarantee that the Flow
in state is cold then I am not opposed to that.rkeazor
09/19/2019, 3:29 AMrkeazor
09/19/2019, 3:29 AMdewildte
09/20/2019, 12:13 PMSnackbar
need to be shown in relation to that state change. So we attach a Flow
to the state that emits a single ShowSnackbarMessage
event.
If the Flow
in the state object is backed by a Channel
then it could continue to emit events.dewildte
09/20/2019, 12:14 PM