Hello! Is it possible to listen to State from non ...
# compose
p
Hello! Is it possible to listen to State from non composable function?
z
Yes. Instead of a state, you can use a flow as underlying data source. In compose you can collectAsState() and in regular activities you just collect the flow as usual