Davide Giuseppe Farella
08/26/2020, 4:25 PMText(text = myCustomText)
, where myCustomText: Flow<String>
, what is the cleanest way to deal with that?Vinay Gaba
08/26/2020, 4:26 PMcollectAsState
extension function to convert a Flow
to a MutableState
Davide Giuseppe Farella
08/26/2020, 4:28 PMJohn O'Reilly
08/26/2020, 4:36 PMimport androidx.compose.runtime.getValue
import androidx.compose.runtime.setValue
Davide Giuseppe Farella
08/26/2020, 4:36 PM