Chapters

Hide chapters

Dagger by Tutorials

First Edition - Early Access 1 · Android 11 · Kotlin 1.4 · AS 4.1

Section III: Components & Scope Management

Section 3: 3 chapters
Show chapters Hide chapters

Section IV: Advanced Dagger

Section 4: 3 chapters
Show chapters Hide chapters

14. Multibinding with Map
Written by Massimo Carli

In this chapter, you’ll learn how to use multi-binding with Map. You’ll learn how to configure multi-binding with Map and how to use fundamental type keys with @StringKey, @ClassKey, @IntKey, and @LongKey. You’ll also create a simple custom key and use @KeyMap to build complex custom keys.

This is an early access release of this book. Stay tuned for this chapter in a future release!

Have a technical question? Want to report a bug? You can ask questions and report bugs to the book authors in our official book forum here.
© 2026 Kodeco Inc.