最佳答案
I want to inject an application context into a repository class to create a room database instance inside the repository. I am using Hilt for dependency injection.
Can we use hilt for passing application context or do I have to manually pass it?
I am getting the following error:
[Dagger/MissingBinding] android.content.Context cannot be provided without an
@Provides-annotated method. public abstract static class ApplicationC
implements ExartApplication_GeneratedInjector