Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How the ViewModel works when transitioning on the iOS side #15

Open
zaki5m opened this issue Oct 9, 2024 · 0 comments
Open

How the ViewModel works when transitioning on the iOS side #15

zaki5m opened this issue Oct 9, 2024 · 0 comments

Comments

@zaki5m
Copy link

zaki5m commented Oct 9, 2024

Hi 👋
Thank you for the great resources on Udemy!

I have a question about ViewModel.
I would like to implement a ViewModel lifecycle similar to Jetpack Compose on the iOS side.

The problem I'm having is that when I leave a View (once generated ViewModel) and display the same View again, the ViewModel is not initialised and the viewModel stops working.
Is there any solution to this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant