Is it mandatory to add @AndroidEntryPoint annotation on all dependent classes like fragment dependent upon activity. Is there any alternative solution for overcome this exception?
Just add @AndroidEntryPoint
to your parent Activity
class:
And yes, it's a mandatory process if you want to use Hilt. You could use Dagger to get away with this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With