Posted by Nick Butcher – Product Supervisor for Jetpack Compose, and Florina Muntenescu – Developer Relations Engineer
adidas CONFIRMED is an app for the model’s most loyal followers who need its newest, curated collections that aren’t discovered wherever else. The digital storefront provides streetwear, style, and elegance fanatics entry to adidas’ most unique drops and crossovers to allow them to store them as quickly as they go dwell. The adidas CONFIRMED crew desires to supply customers a premium expertise, and it’s all the time exploring new methods to raise the app’s UX. Right this moment, its builders are extra geared up than ever to enhance the in-app expertise utilizing Jetpack Compose, Android’s fashionable declarative toolkit for constructing UI.
Bettering the UX with Jetpack Compose
adidas CONFIRMED designers conduct quarterly shopper surveys for suggestions from customers concerning new app flows and UI enhancements. Their surveys revealed that 80% of the app’s customers choose animated visuals as a result of animations encourage them to discover and work together with the app extra. adidas CONFIRMED builders needed to implement new design components and animations throughout the app’s interface to strengthen engagement, however the app’s earlier View-based system restricted their potential to create partaking UX in a scalable approach.
“We determined to construct dynamic components and animations throughout a lot of our screens and consumer journeys,” mentioned Rodrigo Represa, an Android engineer at adidas. “We had an formidable checklist of UI updates we needed to make and began on the lookout for options to assist us obtain them.”
Switching to Compose allowed adidas CONFIRMED builders to create options sooner than ever. The advance in engineering effectivity has been noticeable, with the crew estimating that Compose allows them to create new options roughly 30% sooner than with Views. Right this moment, greater than 80% of the app’s UI has been migrated to Compose.
Innovating the in-app expertise
As a part of the app’s new interface replace, adidas CONFIRMED builders created an thrilling, animated expertise referred to as Sneakers Event. This competitors positions totally different brand-collaborator sneakers face to face in a digital match the place customers vote for his or her favourite shoe. It took two builders solely three months to construct this function from the bottom up utilizing Compose. And customers cherished it — it elevated the app’s weekly lively customers by 8%.
Earlier than transitioning to Compose, it was arduous for the crew to customise the adidas CONFIRMED app to include branding from its collaborators. With Compose, it’s straightforward. As an illustration, the app’s builders can now create a dynamic design system utilizing CompositionLocals. This performance helps builders replace the app’s look throughout collab launches, offering a extra interesting consumer expertise whereas sustaining a constant and clear design.
Some of the thrilling animations adidas CONFIRMED builders added utilized machine sensors. Customers can view and work together with the merchandise they’re on product show pages by merely shifting their units, simply as in the event that they had been holding the product in actual life. Builders used Compose to create sensible lighting results for the animation to make the viewing expertise extra partaking.
A better method to construct UI
Utilizing composables allowed adidas CONFIRMED builders to reuse current elements. As each the flagship adidas app and the adidas CONFIRMED app are a part of the identical monorepo, engineers may reuse composables throughout each apps, like types and lists, enabling them to implement new options rapidly and simply.
“The accelerated growth with Compose supplied our crew of seven with extra time, enabling us to strike a wholesome stability between delivering new functionalities and guaranteeing the long-term well being and sustainability of our app,” mentioned Rodrigo.
Compose additionally helped to enhance app stability and efficiency for the crew. They seen a big discount in app-related crashes, and have seen just about no UI-related crashes, since migrating the app to Compose. The crew is proud to supply a 99.9% crash-free consumer expertise.
A greater app constructed with the long run in thoughts
Compose opened doorways to implementing new options sooner than ever. With Compose’s clear and concise utilization of Kotlin, it was straightforward for builders to create the formidable and fascinating interface adidas CONFIRMED customers needed. And the crew doesn’t plan to cease there.
The adidas CONFIRMED crew desires to lean additional into its new codebase and totally undertake Compose shifting ahead. Additionally they need to deliver the app to new screens utilizing extra of the Compose suite and are at present growing an app widget utilizing Jetpack Look. This new expertise will present customers with a streamlined feed of recent product info for an much more environment friendly consumer expertise.
“I like to recommend Compose as a result of it simplifies growth and is a extra intuitive and highly effective method to constructing UI,” mentioned Rodrigo.
Get began
Optimize your UI growth with Jetpack Compose.