-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Hilt integration doesn't support Screen classes #15
Comments
Hi @isshindev we didn't know that Hilt works in another stack instead of Android only. Can you share what stack is your project? |
Sorry, I didn't know about that. I was only using Here's one thing I'm really curious though. You said Android context is only provided by Thanks! |
Another side effect of this is that hilt integration does not work in TabNavigator as the Tab expands Screen and not AndroidScreen. |
Good point! I didn't notice because I was only using empty tabs with a Navigator inside them. |
Hi guys, there was a misunderstood here. I was thinking that we were talking about Androidx ViewModel. There is no need to Hilt and ScreenModel be exclusive to AndroidScreen really. It was a mistake because first purpose was to create an integration with Androix ViewModel. |
Fixed on 1.0.0-beta13, feel free to reopen if the issue persists. |
I don't if that is intentional.Hilt integration only works with
AndroidScreen
.Also, docs seems incomplete... There is a sample project for that though.
The text was updated successfully, but these errors were encountered: