-
-
Notifications
You must be signed in to change notification settings - Fork 690
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 to use with custom view? #63
Comments
You can add the |
Yes. It works. Thank you for great product! |
can you please give an example on how to inject Service into a Custom View class ? if my CustomView class extends FrameLayout, how can i use the KoinComponent interface? Thanks a head |
Maybe this: class MyCustomView(context: Context) : FrameLayout(context), KoinComponent {
...
} |
I can inject dependencies in activities and fragments, but can I inject in custom view?
The text was updated successfully, but these errors were encountered: