After this lesson you will
- Design a repository interface that speaks in domain models and DomainResult
- Keep table names, row DTOs, dispatchers and error handling in the implementation in :data
- Swap the data source by changing one binding line
Duration25 min
DifficultyIntermediate
Repository Pattern
Repository Pattern in the Mobile Action Pro course.
- 01Lesson Goal
- 02Part 1: What A Repository Solves
- 03Part 2: The Interface Speaks The Domain's Language
- 04Part 3: The Implementation Keeps The Details
- 05Part 4: One Interface, Many Sources
- 06Practice Exercise
- 07Code Reading Path
- 08Signs To Avoid
- 09References
- 10Key Points
Topics: kotlin, 06-clean-architecture
10 sections left in this lessonUnlock all of Mobile Action ProLesson Goal, Part 1: What A Repository Solves, … — plus 114 lessons in this course, source code and checklists.
Unlock Mobile Action ProOne-time payment — lifetime access — 7-day money-back. Already purchased? Sign in