tfcporciuncula/hilt-assisted-injection

Compilation error while using extension functions

Opened this issue · 1 comments

Hi,

I referred to your code when trying to do AssistedInjection into ViewModel and Hilt as a dependency injection framework. When I used your code, I am getting a compilation error. Can you please 'assist' here? :)

Screenshot 2023-08-23 at 5 24 20 PM

Yeah this code is pretty old and that API changed significantly starting from lifecycle 2.5.0. I just opened a PR updating everything so you can take a look at how the code should look like today: #2