Im using Dagger Hilt in my project and its not compilating. Checked everything in manifest and project files and have no idea what is happenning :/ EquipmentsApplication Cass Main Activity Manifest File Answer For some reason my versions of the implementation were not matching Old Version Rolled back to
Tag: dagger-hilt
Hilt :- Not able to use the @AndroidEntryPoint in the AppCompatActivity getting DefaultV iewModelFactories exceptions?
I want to use the Hilt in my project for getting the helper class object as the common for my activity. I have tried the below lines of code for it Manifest file entry My AppController class Please check my gradles file for it Please check my classPath entry below Now please check my NVModule Module class in which i
Passing runtime parameter to constructor in Hilt
In Dagger, we can pass the runtime parameter through component.builder. But how to achieve that in hilt where the Component is Built in? How to inject an object of ProgressData in the main activity while percent data is set in runtime? Answer I found the answer. First Annotate the constructor with @AssistedInject. then we have to annotate percent as @Assisted.