,但仍然没有注入演示程序,并在BookDashboardPresenter BookDashboard -> Activity __中的presenter.fetchBooks()处崩溃--参见代码中的注释abstract fun presenter(presenter: BookDashboardPresenter): BookDashboardContract.Presenter我使用的第二种方法但主持人还没有注射
class Bo
我在AppModule中放置@命名注释时遇到了一个问题,这里是我的代码,只有当我将@命名注释添加到'AppModule‘和'IdentityRepository’时,问题才会出现,但是当我将它从这两种注释中删除时@Provides @Singleton fun provideIdentityService("NOT_AUTH_IDE
我正在尝试使用Hilt设置一个多模块的Android应用程序,但在完成所有设置后,我得到了以下错误:
D:\Projetos\historico-de-notificacoes\app\build\generated/MissingBinding] br.com.firstsoft.historiconotificacoes.domain.src.repository.NotificationRepositorycannot be provided without an @Provides-annotated method.br.
我正在做一个相对简单的Hilt实现。我已经设置好了,我似乎无法绕过这个错误: 如果没有@Provides注释的方法,则无法提供Dagger/MissingBinding @dagger.hilt.android.qualifiers.ApplicationContext@dagger.hilt.android.qualifiers.ApplicationContext a