Max applied UI modifications 30% quicker utilizing Jetpack Compose



Max applied UI modifications 30% quicker utilizing Jetpack Compose

Posted by Tomáš Mlynarič, Developer Relations Engineer

Max applied UI modifications 30% quicker utilizing Jetpack Compose

Max®, which launched within the US on Might 23, 2023, is an enhanced streaming platform from Warner Bros. Discovery, delivering unparalleled high quality content material for everybody within the family. Max builders wish to present the very best UX attainable, they usually’re at all times trying to find new methods to do this. That’s why Max builders constructed the app utilizing Jetpack Compose, Android’s trendy declarative toolkit for creating native UI. Constructing Max’s UI with Compose set the app up for long-term success, enabling builders to construct new experiences in a quicker and simpler means.

Compose streamlines growth

Max is the most recent app from Warner Bros. Discovery and builds on the corporate’s prior learnings from HBO Max and discovery+. When Max growth started in late 2022, builders had already used Compose to construct the content material discovery function on discovery+—one among its core UI options.

“It was pure to proceed our adoption of Compose to the Max platform,” mentioned Boris D’Amato, Sr. Workers Software program Engineer at Max.

Given the crew’s earlier expertise utilizing Compose on discovery+, they knew it might streamline growth and enhance the app’s maintainability. In the long run, constructing Max with Compose lowered the app’s boilerplate code, elevated the re-usability of its UI parts, and boosted developer productiveness general.

“Compose considerably lowered the time required to implement UI modifications, fixing the ache level of sustaining a big, complicated UI codebase and making it simpler to iterate on the app’s design and consumer expertise,” mentioned Boris.

In the present day, Max’s UI is constructed nearly totally with Compose, and builders estimate that adopting Compose allowed them to implement UI modifications 30% quicker than with Views. Due to the toolkit’s modular nature, builders might construct extremely reusable parts and adapt or mix them to type new UI parts, making a extra cohesive app design.

Compose significantly reduced the time required to implement UI changes, solving the pain point of maintaining a large, complex UI codebase and making it easier to iterate on the app's design and user experience,” — Boris D’Amato, Sr. Staff Software Engineer at Max

Extra enhancements with Compose

In the present day, Compose is so integral to Max’s design that the app’s whole UI structure is designed particularly to assist Compose. For instance, builders constructed a system to dynamically render server-driven, editorially curated content material and user-personalized suggestions with out having to ship a brand new model of the app. To assist this method, builders relied on the very best practices when architecting Compose apps, leveraging Compose’s good recompositioning and skipability for the smoothest expertise attainable.

Very similar to the invention+ platform, Compose can be used for Max’s content material discovery function. This function helps Max serve tailor-made content material to every consumer primarily based on how they use the app. Due to Compose, it was simple for builders to make sure this function labored as meant as a result of it allowed them to check every half in manageable segments.

“One of many options most impacted through the use of Compose was our content material discovery system. Compose enabled us to create a extremely dynamic and interactive interface that adapts in real-time to consumer context and preferences,” mentioned Boris.

Adapting to customers’ distinctive wants is another excuse Compose has impressed Max builders. Compose makes it simple to assist the various totally different screens and type components obtainable in the marketplace at present. With the Window measurement courses API, Max can scale its UI in actual time to accommodate display measurement and form variations for tablets and foldables.

Examples of UX on large and small screens

The longer term with Compose

Since adopting Compose, the Max crew has observed elevated curiosity from potential job candidates enthusiastic about working with the most recent Android applied sciences.

“At any time when we point out that Max is constructed utilizing Compose, the thrill within the candidates is palpable. It signifies that we’re investing in retaining our tech stack up to date and our give attention to the developer expertise,” mentioned Boris.

Wanting forward, the Max crew plans to lean additional into its Compose codebase and make much more use of the toolkit’s options, like animation APIs, predictive gestures, and widgets.

“I completely suggest Jetpack Compose. Compose’s declarative method to UI growth permits for a extra intuitive and environment friendly design course of, making implementing complicated UIs and animations simple. When you attempt Compose, there’s no going again,” mentioned Boris.

Get began

Optimize your UI growth with Jetpack Compose.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles