You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.
Hello,
I have the following configuration using Hilt 2.32-alpha, I set up the annotation @androidentrypoint on a Fragment. This fragment declares a custom view in it's layout.
The problem occurs when I was trying to get context (basically activity) from inside the Custom view class and I'm getting FragmentContextWrapper: this class is not intended to be used outside the Hilt components as mentioned in the documentation.
So I'm trying to figure out how to get the context correctly or if I'm doing something wrong in the hilt implementation ?
Otherwise, I want to verify if this is this is a know bug in the hilt implementation.
Thank for your help.
Messid
The text was updated successfully, but these errors were encountered:
Hello,
I have the following configuration using Hilt 2.32-alpha, I set up the annotation @androidentrypoint on a Fragment. This fragment declares a custom view in it's layout.
The problem occurs when I was trying to get context (basically activity) from inside the Custom view class and I'm getting FragmentContextWrapper: this class is not intended to be used outside the Hilt components as mentioned in the documentation.
So I'm trying to figure out how to get the context correctly or if I'm doing something wrong in the hilt implementation ?
Otherwise, I want to verify if this is this is a know bug in the hilt implementation.
Thank for your help.
Messid
The text was updated successfully, but these errors were encountered: