Friday, July 1, 2022
HomeMobileAirbnb makes use of Jetpack Compose to empower devs to do their...

Airbnb makes use of Jetpack Compose to empower devs to do their greatest work



How Compose allows Airbnb to create higher host and visitor experiences

Airbnb uses Jetpack Compose to empower devs to do their best work

Since 2007, Airbnb has grown to attach greater than 4 million hosts with greater than 1 billion visitors throughout the globe. One of many causes behind the app’s success is that its builders goal to attain engineering excellence by specializing in two foremost rules: utilizing know-how that sparks modern growth and empowering the engineers behind the work.

Jetpack Compose, Android’s fashionable UI-building toolkit, immediately helps each of Airbnb’s growth rules. Compose offered a strong basis for adaptable, high quality engineering and diminished boilerplate code, so builders may concentrate on delivering an awesome person expertise — and advance their two-fold pursuit of engineering excellence.

Image with Airbnb tech lead

Airbnb began testing Compose in 2020 when it was in developer preview. As an early adopter, the Airbnb staff was keen use the assorted new options and simplify their workflow. Now, having gained confidence utilizing Compose in manufacturing, Airbnb engineers proceed to be glad with the way it improved their growth course of.

Equipping engineers for achievement

Compose’s deterministic testing helped guarantee Airbnb’s engineers had tight management over the UI assessments they ran and eradicated frequent flakiness, thereby strengthening their confidence within the high quality of each a part of their app and the person experiences they have 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 put in writing the code for screenshot testing, engineers may go straight into utilizing it to catch bugs and regressions. This gave them extra time to assessment and assure characteristic performance and UI look throughout quite a lot of gadgets.

Compose is nice to make use of alongside Views. This interoperability made it straightforward for Airbnb engineers to onboard and check the brand new UI toolkit at their very own tempo, in order that they have been in a position to expertise the advantages of Compose with out having emigrate complete options.

These engineering enhancements gave them the strong technical foundations they wanted to serve customers in contemporary and improved methods.

Engineering efficiencies enhance person experiences

Airbnb retains hosts and visitors on the coronary heart of their choices. The engineering staff was excited to undertake Compose once 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 put in writing and handle, the Airbnb staff boosted their effectivity. All of this meant the staff may focus its power on executing the complicated duties concerned in creating the modern options that might greatest serve customers.

As a result of their options now require much less code, the Airbnb staff will have the ability to gradual the expansion of their app measurement in the long term. Offering a smaller app is essential to Airbnb as a corporation with customers throughout the globe that appears to make sure all hosts and visitors 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 staff was in a position to put person wants first.

Enhance developer productiveness with Compose

Compose simplified UI growth to permit Airbnb engineers the liberty to concentrate on extra dynamic and modern options that profit the app’s hosts and visitors.

Study how one can enhance your staff’s productiveness with Jetpack Compose.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments