Bacho Kurtanidze
10/12/2020, 9:09 AMAhmed Ibrahim
10/12/2020, 5:30 PMFragmentComponent is the parent of ViewWithFragmentComponent, and your Fragment class only can get dependencies from FragmentComponent and its parents, but not from its children.
You can take a look at the components hierarchy from Hilt's docs.
https://dagger.dev/hilt/components