Announcing Dagger by Tutorials, First Edition!

We’re excited to announce that the first edition of our newest book, Dagger by Tutorials, is 100% complete and available today! By Chris Belanger.

Save for later
Share
You are currently viewing page 2 of 2 of this article. Click here to view the first page.

Section V: Introducing Hilt

In the last section, you’ll learn everything you need to know about Hilt. Hilt is a dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project.

Hilt is built on top of the DI library Dagger to benefit from the compile-time correctness, runtime performance, scalability, and Android Studio support that Dagger provides.

  1. Dagger & Android: In this chapter, you’ll learn how Dagger can help you automate dependency injection in your Android app and how to eliminate writing tedious and error-prone boilerplate code.
  2. Hilt – Dagger Made Easy: In this chapter, you’ll learn what is Hilt library and how it reduces the boilerplate of doing manual dependency injection in your project.
  3. Hilt & Architecture Components: In this chapter, you’ll learn about the extensions that Hilt provides for providing classes from other Jetpack libraries.
  4. Testing with Hilt: In this chapter, you’ll learn how Hilt makes testing your code easier.
  5. Appendix A – The Busso Server: In this chapter, you’ll look at how to implement dependency injection on the server using Koin.
  6. Appendix B – Assisted Injection: In this chapter, you’ll learn all about assisted injection with Dagger and Hilt.

About the Author

Massimo Carli has been working with Java since 1995 when he co-founded the first Italian magazine about this technology (http://www.mokabyte.it). After many years creating Java desktop and enterprise application, Massimo started to work in the mobile world. In 2001 he wrote his first book about J2ME. After many J2ME and Blackberry applications, he then started to work with Android in 2008. The same year Massimo wrote the first Italian book about Android; best seller on Amazon.it. That was the first of a series of 12 books. Massimo worked at Yahoo and Facebook and he’s actually working as Senior Engineer at Spotify. Massimo is a musical theatre lover and a supporter of the soccer team S.P.A.L.

Where to Go From Here?

Dagger by Tutorials, First Edition is 100% complete and available today! Like every one of our books, Dagger by Tutorials has been automatically added to the collections of all Ultimate Pro subscribers.

Want your own copy of Dagger by Tutorials? There are two ways you can enjoy this book:

  • Buy it individually: If you want to build up a custom library without a subscription, you can choose to buy the book individually. It’s available now for just $59.99 in our online store.
  • Get it as part an Ultimate Pro book and video subscription: Enjoy access to over 4,000+ videos and every single one of our 40+ professional mobile development books, including Dagger by Tutorials! Right now, you can get a full year’s Ultimate Pro subscription and save 20% off the cost of a regular monthly subscription. It’s simply the best investment for your mobile development career.

We hope you enjoy this first edition of Dagger by Tutorials. From the entire book team, thank you for your support!

Chris Belanger

Contributors

Chris Belanger

Author

Over 300 content creators. Join our team.