Open halu5071 opened 6 years ago
A project I belong may adopt Clean-Architecture
+ MVVM
, then both ViewModel
and UseCase
will be implemented.
I will implement only ViewModel, and ViewModel use Repository like Google Architecture Components sample.
However, when ViewModel has some roles, UseCase classes is useful I think.
Overview
When I adopt
Clean-Architecture
, I would have usedUseCase
to operateRepository
. However, after I learned MVVM (and Architecture Component, DataBinding),UseCase
classes are redundant I think.hmmm
TBD