Expanded Library

Powering Modularization at Airbnb: Plugin Architecture

by droidcon SF

Droidcon SF 2019 | Powering Modularization at Airbnb: Plugin Architecture | Adell Hanson-Kahn

What you'll learn

Airbnb prizes modularization for helping the team drive code ownership and decrease build times. These benefits also bring increased complexity and boilerplate. Our Plugin architecture, using an annotation processor and Dagger's multibindings, allows us to reduce those costs and capture some additional benefits. Some of these are: a single source of truth for a plugin/plugin point; abstracting away Dagger gotchas; adding our own compile-time enforcements; and getting some additional value out of the IDE (e.g., finding usages for all plugins contributing to a plugin point). Airbnb introduced the architecture in their 2018 vision and implemented it this year, 2019. In this talk, Adell Hanson-Kahn will go over the benefits listed above and how the tooling works.

Table of contents

Powering Modularization at Airbnb: Plugin Architecture

About the author

Droidcon is the largest global network of developer conferences which bring together the industry's foremost experts dedicated to advancing the Android platform. Droidcon engages a global network of over 25,000 developers attending our events in 22 cities. Our first droidcon conference was held in 2009 in Berlin and since then it has spread its influence across the globe and has established itself as the world's foremost community-driven conference format. Droidcon is the place to meet the inter... more

Ready to upskill? Get started