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?
Asked
Active
Viewed 4,858 times
1 Answers
20
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.

Jim
- 1,027
- 1
- 10
- 19