https://kotlinlang.org logo
f

Florian

09/12/2021, 7:35 AM
Regarding lifecycle behavior etc., do I get the exact same result if I use
collectAsState
on a Flow vs
observeAsState
from LiveData?
f

Florian

09/12/2021, 7:57 AM
Thank you. That means that they are indeed not equivalent
a

adjpd

09/12/2021, 1:43 PM
Interesting. I'm using
collectAsState
in my app. Is there a good reason I should use
flowWithLifecycle
?
a

Albert Chang

09/12/2021, 1:50 PM
See this and this.
🙌 3
2 Views