How Compose allows Airbnb to create higher host and visitor experiences

Since 2007, Airbnb has grown to attach greater than 4 million hosts with greater than 1 billion friends throughout the globe. One of many causes behind the app’s success is that its builders intention to realize engineering excellence by specializing in two predominant rules: utilizing know-how that sparks progressive growth and empowering the engineers behind the work.
Jetpack Compose, Android’s fashionable UI-building toolkit, instantly helps each of Airbnb’s growth rules. Compose supplied a stable basis for adaptable, high quality engineering and decreased boilerplate code, so builders may deal with delivering an excellent consumer expertise — and advance their two-fold pursuit of engineering excellence.

Airbnb began testing Compose in 2020 when it was in developer preview. As an early adopter, the Airbnb crew was keen use the assorted new options and simplify their workflow. Now, having gained confidence utilizing Compose in manufacturing, Airbnb engineers proceed to be happy with the way it improved their growth course of.
Equipping engineers for fulfillment
Compose’s deterministic testing helped guarantee Airbnb’s engineers had tight management over the UI assessments they ran and eradicated widespread flakiness, thereby strengthening their confidence within the high quality of each a part of their app and the consumer experiences they had been creating. Engineers can now additionally use Compose to check animations they beforehand could not.
Equally, Airbnb builders used Compose so as to add automated screenshot assessments to their codebase. As a result of they didn’t want to jot down the code for screenshot testing, engineers may go straight into utilizing it to catch bugs and regressions. This gave them extra time to evaluation and assure function performance and UI look throughout quite a lot of gadgets.
Compose is nice to make use of alongside Views. This interoperability made it simple for Airbnb engineers to onboard and check the brand new UI toolkit at their very own tempo, in order that they had been in a position to expertise the advantages of Compose with out having emigrate total options.
These engineering enhancements gave them the stable technical foundations they wanted to serve customers in contemporary and improved methods.
Engineering efficiencies enhance consumer experiences
Airbnb retains hosts and friends on the coronary heart of their choices. The engineering crew was excited to undertake Compose after they discovered about how it could allow them to extra simply and effectively produce UI, leading to higher experiences for his or her finish customers.
As a result of Compose made Airbnb’s options require considerably much less code to jot down and handle, the Airbnb crew boosted their effectivity. All of this meant the crew may focus its power on executing the advanced duties concerned in creating the progressive options that would finest serve customers.
As a result of their options now require much less code, the Airbnb crew will have the ability to gradual the expansion of their app dimension in the long term. Offering a smaller app is vital to Airbnb as a corporation with customers throughout the globe that appears to make sure all hosts and friends can simply obtain and entry their app — particularly these with older gadgets or logging on from international locations with excessive knowledge prices.
Utilizing Compose’s engineering enhancements, the Airbnb crew was in a position to put consumer wants first.
Enhance developer productiveness with Compose
Compose simplified UI growth to permit Airbnb engineers the liberty to deal with extra dynamic and progressive options that profit the app’s hosts and friends.
Study how one can enhance your crew’s productiveness with Jetpack Compose.