Powering Modularization at Airbnb: Plugin Architecture
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.