Gabriel Peal

Lottie + Mavericks. Works at Tonal. Worked at Airbnb and Google.

Talk Title

Dagger + Anvil: Learning to Love Dependency Injection







on Twitter

Anvil is a Kotlin compiler plugin that makes dependency injection with Dagger 2 easier. Anvil reduces boilerplate code, improves code modularization, reduces build times, and enables custom code generators to further simplify patterns specific to your codebase.

In this talk we will explain why Square created Anvil, how Tonal successfully adopted it, how the plugin works under the hood, what code is being generated and how you can get the most out of the framework.

Speaker Bio

Gabriel is an Android engineer at Tonal (
Previously, he worked at Airbnb and Google.
At Airbnb, he supported 70 product engineers to ensure that the Android app is stable and fun to develop for. He also worked on the React Native infrastructure for a year.
At Google, he helped take Android Auto from ideas on a whiteboard to car dealerships around the world.

He also wrote Lottie for Android and is a co-maintainer of Mavericks.

Droidcon NYC 2018
Craft Conf 2018
Droidcon NYC 2017
AnDevCon DC 2017
Google I/O 2014

Fragmented (x2)
Talking Kotlin
Android Developers Backstage
Software Engineering Daily (x2)

Author of: