After this lesson you will
- Read a chain of get() calls and draw the dependency tree behind a ViewModel
- Use get() with the qualifiers named(), the AIHintProviderType enum and ScopeQualifier
- Read InstanceCreationException and NoDefinitionFoundException to find a missing binding
Duration25 min
DifficultyIntermediate
Dependency Resolution With get()
Dependency Resolution with get() in the Mobile Action Pro course.
- 01Lesson Goal
- 02Part 1: Where get() Infers Its Type From
- 03Part 2: The Dependency Tree Of GameViewModel
- 04Part 3: get() With A Qualifier
- 05Part 4: When The Error Happens And What It Looks Like
- 06Part 5: get() Outside A Module
- 07Practice Exercise
- 08Code Reading Path
- 09Signs To Avoid
- 10References
- 11Key Points
Topics: kotlin, 07-dependency-injection
11 sections left in this lessonUnlock all of Mobile Action ProLesson Goal, Part 1: Where get() Infers Its Type From, … — 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