Dan Tech Academy
After this lesson you will
  • Write use cases following the convention in UseCase's KDoc: one user intention
  • Choose the right shape: extend UseCase, several parameters, return a Flow, several functions
  • Bind use cases in SharedDomainModule and test them with hand-written fakes in commonTest
Duration25 min
DifficultyIntermediate

UseCase Pattern

UseCase Pattern in the Mobile Action Pro course.

What this lesson covers
  1. 01Lesson Goal
  2. 02Part 1: The Convention Lives In The KDoc
  3. 03Part 2: Four Shapes In The Repo
  4. 04Part 3: A Use Case That Orchestrates Several Ports
  5. 05Part 4: Wiring At The Composition Root
  6. 06Part 5: Test With Hand-Written Fakes
  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: The Convention Lives In The KDoc, … — 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