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

What this lesson covers
  1. 01Lesson Goal
  2. 02Part 1: Where get() Infers Its Type From
  3. 03Part 2: The Dependency Tree Of GameViewModel
  4. 04Part 3: get() With A Qualifier
  5. 05Part 4: When The Error Happens And What It Looks Like
  6. 06Part 5: get() Outside A Module
  7. 07Practice Exercise
  8. 08Code Reading Path
  9. 09Signs To Avoid
  10. 10References
  11. 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
Sign in