View models and hilt #246
-
Hi, Could we get some examples added for using view models and hilt? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi @alanjhughes I'm currently working on a proposal for using hilt with the library. It should be ready for a 1.1.x release of the library. I will take make sure I keep view models in mind |
Beta Was this translation helpful? Give feedback.
-
Hey, any progress on this one? We are facing similar issues: Context
Problem
What would help?Either |
Beta Was this translation helpful? Give feedback.
-
Hi @OneFiveFour, in regards to the ViewModels we haven't agreed on whether it should be part of the library or not just yet. However, we have exactly the same functionality provided by the library. Please check out this doc You could even use your ViewModel class if you don't register it and have a separate method for cleaning up which can be called outside:
|
Beta Was this translation helpful? Give feedback.
Hi @alanjhughes
I'm currently working on a proposal for using hilt with the library. It should be ready for a 1.1.x release of the library.
I will take make sure I keep view models in mind