Replies: 1 comment
-
Currently. there is no specific callback for this case. If |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
In Android viewmodel and Fragments i have onViewCreated so when I navigate to fragment it calls onViewCreated and I can make some initializations inside viewmodel's init {}
But in Decompose init of a component is called only on first navigation to the corresponding screen.
After that I can only use doOnStart() but it's not the same.
Is there a way detect that I just navigated to the component?
Beta Was this translation helpful? Give feedback.
All reactions