Hi everyone, how can I refresh/call method on my p...
# compose
e
Hi everyone, how can I refresh/call method on my previous screen after I pop/navigate up on my second screen? I did something similar before, but in Flutter:
Navigator.of(context).push(...).then(*do something after pop()*)
How can I do this in Compose navigation?
i
Is there a reason your source of truth for the screen isn't already exposing a Flow that automatically updates when the underlying data changes? That would automatically handle the refresh case and is a key part to building an app that embraces a reactive design
e
I think I should expose Flow from my data layer to UI layer, so I dont need to manually refresh state inside ViewModel, thanks!