I'm creating an Android app (Java) and using Navigation Components and Hilt for the first time. In the Navigation Editor I'm creating destinations and see that the fragments I created that have been annotated with @AndroidEntryPoint now show as "Hilt_" + the fragment name. Now my app cannot build because the compiler is looking for a constructor with "Hilt_" + the fragment name instead of just the fragment name. Ex: my fragment is named HomeFragment but in the Navigation Editor it is called Hilt_HomeFragment. Error I get when compiling:
Caused by: androidx.fragment.app.Fragment$InstantiationException: Unable to instantiate fragment com.blah.blah.fragment.Hilt_HomeFragment: could not find Fragment constructor
How should the name discrepancies be handled so I can use Hilt & navigation components together?