Closed hieuwu closed 11 months ago
TextNotesRepo
interface should be renamedNotesRepo
andTextNotesRepoImpl
to justTextNotesRepo
. We will have other note type repos implement it
Got your point. However, let's keep one implementation for one interface as it is current approach. If in the future we add more, let's consider later.
We should migrate to
Datastore
later https://developer.android.com/topic/libraries/architecture/datastore
I just change the way to provide dependencies. If we need to migrate to data store, we should do it later
:rocket: Summary
Extract methods to interfaces & change way of providing dependencies Part 1 of #24
All new repository created must follow the principle
programming over abstraction instead of implementation
. They should be provided indi
and as a module