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

Make ComponentActivity.tangleViewModel() initialize lazily #562

Conversation

WhosNickDoglio
Copy link

@WhosNickDoglio WhosNickDoglio commented Dec 13, 2022

This seems to be the same issue as #227

I tested my changes with my demo project linked in #561 and can confirm I'm no longer seeing the crash

Fixes #561

@WhosNickDoglio WhosNickDoglio marked this pull request as ready for review December 13, 2022 16:50
@WhosNickDoglio WhosNickDoglio force-pushed the ndoglio-lazy-activity-viewmodel branch from 224b1e4 to ee823f3 Compare February 27, 2025 00:22
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

Successfully merging this pull request may close these issues.

NPE when using tangleViewModel() Activity extension function
1 participant