After this lesson you will
- Apply Dependency Inversion: put the interface on the side of whoever uses it
- Use interfaces for platform seams (audio, haptics, Google Sign-In) between Android and iOS
- Know that bindings live in DataModule, dataPlatformModule and SharedDomainModule, and that AppGraphTest checks them
Duration25 min
DifficultyIntermediate
Interface-Based Design
Interfaces as boundaries between layers and seams between platforms, and how DI binds interfaces to implementations.
- 01Lesson Goal
- 02Part 1: What DIP Is
- 03Part 2: Interfaces At Layer Boundaries
- 04Part 3: Interfaces At Platform Boundaries
- 05Part 4: Interface Or expect/actual
- 06Part 5: DI Wires Interfaces To Implementations
- 07Practice Exercise
- 08Code Reading Path
- 09Signs To Avoid
- 10References
- 11Key Points
Topics: kotlin, 06-clean-architecture
11 sections left in this lessonUnlock all of Mobile Action ProLesson Goal, Part 1: What DIP Is, … — 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