title: Android Hilt cannot be provided without an @Provides-annotated method. in repository Interface Class
body: <p>I'm getting this error <em><strong>error: [Dagger / MissingBinding] com.eduramza.domain.repositories.RemoteRepository cannot be provided without an @ Provides-annotated method.</strong></em> when implementing my repository interface with android hilt.</p>
  <p>That's because my useCase implements my repository interface. What may be wrong with my implementation, below is the code:</p>
  <p>app.Viewmodel:</p>
  <pre><code>@HiltViewModel
  class RemoteListViewModel @Inject constructor(
      private val useCase: GetTickersUseCase
      ): ViewModel() {
  }
  </code></pre>
  <p>domain.usecase:</p>
  <pre><code>class GetTickersUseCase @Inject constructor(
      private val remoteRepository: RemoteRepository)
      : SingleUseCase&lt;MainCoins&gt; {
  
      override suspend fun executeCall(): Flow&lt;Result&lt;MainCoins&gt;&gt; = remoteRepository.readAllTickers()
  
  }
  </code></pre>
  <p>domain.repository:</p>
  <pre><code>interface RemoteRepository {
      suspend fun readAllTickers(): Flow&lt;Result&lt;MainCoins&gt;&gt;
  }
  </code></pre>
  <p>core.repositoryImpl:</p>
  <pre><code>class RemoteRepositoryImpl @Inject constructor(
      private val apiService: BraziliexService,
      private val tickersMapper: TickersMapper
  ) : RemoteRepository{
  
      override suspend fun readAllTickers(): Flow&lt;Result&lt;MainCoins&gt;&gt; {
          TODO(&quot;Not yet implemented&quot;)
      }
  }
  </code></pre>
  <p>core.module:</p>
  <pre><code>@Module
  @InstallIn(ActivityComponent::class)
  abstract class RemoteModule {
  
  @Binds
  abstract fun bindRemoteRepository(
      remoteRepositoryImpl: RemoteRepositoryImpl
      ): RemoteRepository
  }
  </code></pre>
  <p>My multimodule app in this structure
  <a href="https://i.stack.imgur.com/86Cbk.png" rel="noreferrer"><img src="https://i.stack.imgur.com/86Cbk.png" alt="enter image description here" /></a>
  where core implement domain, and app implement both.</p>
  <p>why is the bind method not being initialized?</p>
  <p><a href="https://i.stack.imgur.com/qqrix.png" rel="noreferrer"><img src="https://i.stack.imgur.com/qqrix.png" alt="enter image description here" /></a></p>