Dan Tech Academy
After this lesson you will
  • Trace state going up from DataStore to MenuViewModel and the UI
  • Trace events going down when a round ends, through a side effect and a use case
  • Choose Flow, StateFlow and SharedFlow in the right places, including for one-time navigation events
Duration25 min
DifficultyIntermediate

Data Flow Patterns

Data Flow Patterns in the Mobile Action Pro course.

What this lesson covers
  1. 01Lesson Goal
  2. 02Part 1: Unidirectional Data Flow
  3. 03Part 2: Upward, From The Player Profile To The Menu
  4. 04Part 3: Downward, Finishing A Round
  5. 05Part 4: The DRE Loop Inside The ViewModel
  6. 06Part 5: One-Time Events
  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: Unidirectional Data Flow, … — 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