Denis Brandi
Aug 31, 2022

--

Hi Jeonhoeun, thanks for reading the article!

Like I show in the article, in Dagger you have to do the following:

```

@Provides

fun provideGetSomeModelUseCase(

someModelRepository: SomeModelRepository

): GetSomeModelUseCase {

return GetSomeModelUseCase(someModelRepository::getSomeModels)

}

```

--

--

Denis Brandi
Denis Brandi

Written by Denis Brandi

Coaching the next generation of 10x devs.

No responses yet