Home Android & Kotlin Books Dagger by Tutorials

14
Multibinding with Map Written by Massimo Carli

Heads up... You're reading this book for free, with parts of this chapter shown beyond this point as scrambled text.

You can unlock the rest of this book, and our entire catalogue of books and videos, with a raywenderlich.com Professional subscription.

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.

Have feedback to share about the online reading experience? If you have feedback about the UI, UX, highlighting, or other features of our online readers, you can send them to the design team with the form below:

© 2021 Razeware LLC

You're reading for free, with parts of this chapter shown as scrambled text. Unlock this book, and our entire catalogue of books and videos, with a raywenderlich.com Professional subscription.

Unlock Now

To highlight or take notes, you’ll need to own this book in a subscription or purchased by itself.