Gabor Varadi
1 min readNov 17, 2019

--

You’re missing an answer to a question: if the use-case directly does exactly what the Repository is doing… then do you actually really need the Repository? Your example argues that the UseCase is necessary — I understand that. But what is the argument for using a Repository, when you are also already using UseCase? Aren’t they trying to do the same thing?

--

--

Gabor Varadi
Gabor Varadi

Written by Gabor Varadi

Android dev. Zhuinden, or EpicPandaForce @ SO. Extension function fan #Kotlin, dislikes multiple Activities/Fragment backstack.

Responses (2)