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