There is no need to trigger `save`. Object is inst...
# android-architecture
d
There is no need to trigger
save
. Object is instantiated upon runtime.
setDate
&
setDetails
pretty much updates the already instantiated object. The whole point of Repository is a set of methods which can be implemented to variety different datasources. How is it going to be implemented depends on a guy who is coding data layer. Repository belongs to domain layer and acts like a business logic together with use cases and domain models Repository implementation belongs to data layer together with data models & data sources (room,realm,retrofit,custom wrappers etc..)