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, vogue, and magnificence fanatics entry to adidas’ most unique drops and crossovers to allow them to store them as quickly as they go stay. The adidas CONFIRMED staff needs to supply customers a premium expertise, and it’s at all times exploring new methods to raise the app’s UX. Right this moment, its builders are extra outfitted 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 client surveys for suggestions from customers relating to 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 wished to implement new design parts and animations throughout the app’s interface to strengthen engagement, however the app’s earlier View-based system restricted their means to create partaking UX in a scalable approach.
“We determined to construct dynamic parts and animations throughout lots of our screens and person journeys,” mentioned Rodrigo Represa, an Android engineer at adidas. “We had an bold record of UI updates we wished to make and began on the lookout for options to assist us obtain them.”
Switching to Compose allowed adidas CONFIRMED builders to create options quicker than ever. The development in engineering effectivity has been noticeable, with the staff estimating that Compose permits them to create new options roughly 30% quicker 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 known as Footwear Event. This competitors positions completely different brand-collaborator sneakers face to face in a digital event 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 laborious for the staff 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 person expertise whereas sustaining a constant and clear design.
One of the crucial thrilling animations adidas CONFIRMED builders added utilized system sensors. Customers can view and work together with the merchandise they’re taking a look at on product show pages by merely transferring their units, simply as in the event that they had been holding the product in actual life. Builders used Compose to create reasonable lighting results for the animation to make the viewing expertise extra partaking.
A neater strategy to construct UI
Utilizing composables allowed adidas CONFIRMED builders to reuse present parts. 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 shortly and simply.
“The accelerated improvement with Compose offered our staff of seven with extra time, enabling us to strike a wholesome steadiness between delivering new functionalities and making certain the long-term well being and sustainability of our app,” mentioned Rodrigo.
Compose additionally helped to enhance app stability and efficiency for the staff. They seen a big discount in app-related crashes, and have seen nearly no UI-related crashes, since migrating the app to Compose. The staff is proud to supply a 99.9% crash-free person expertise.
A greater app constructed with the longer term in thoughts
Compose opened doorways to implementing new options quicker than ever. With Compose’s clear and concise utilization of Kotlin, it was straightforward for builders to create the bold and interesting interface adidas CONFIRMED customers wished. And the staff doesn’t plan to cease there.
The adidas CONFIRMED staff needs to lean additional into its new codebase and absolutely undertake Compose transferring ahead. Additionally they need to convey the app to new screens utilizing extra of the Compose suite and are presently creating an app widget utilizing Jetpack Look. This new expertise will present customers with a streamlined feed of recent product data for an much more environment friendly person expertise.
“I like to recommend Compose as a result of it simplifies improvement and is a extra intuitive and highly effective method to constructing UI,” mentioned Rodrigo.
Get began
Optimize your UI improvement with Jetpack Compose.