Dan Tech Academy
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.

What this lesson covers
  1. 01Lesson Goal
  2. 02Part 1: What DIP Is
  3. 03Part 2: Interfaces At Layer Boundaries
  4. 04Part 3: Interfaces At Platform Boundaries
  5. 05Part 4: Interface Or expect/actual
  6. 06Part 5: DI Wires Interfaces To Implementations
  7. 07Practice Exercise
  8. 08Code Reading Path
  9. 09Signs To Avoid
  10. 10References
  11. 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
Sign in