• Home
  • Insight
  • Blog
  • Business
  • Entertainment
  • Health
  • Politics
  • Shop
    • Gift Shop
    • Value Shop
    • Store
    • Bargain Shop
    • Discount
  • Sports
  • Tech
  • Travel
  • USA
  • Video
  • World
    • Asia
    • Africa
    • South America
    • North America
    • Europe
    • Oceania
Thursday, August 20, 2026
No Result
View All Result
Subscribe Now
  • Home
  • Insight
  • Blog
  • Business
  • Entertainment
  • Health
  • Politics
  • Shop
    • Gift Shop
    • Value Shop
    • Store
    • Bargain Shop
    • Discount
  • Sports
  • Tech
  • Travel
  • USA
    NTSB releases new videos, images from deadly Philadelphia medical jet crash

    NTSB releases new videos, images from deadly Philadelphia medical jet crash

    Iran Calls Trump ‘Delusional’ After He Claims Hormuz a ‘New U.S. Territory’

    Iran Calls Trump ‘Delusional’ After He Claims Hormuz a ‘New U.S. Territory’

    IPOs for Open AI, Anthropic could unlock 0B for charity

    IPOs for Open AI, Anthropic could unlock $430B for charity

    Poll showing Bass leading Raman by double digits was bogus, company says

    Poll showing Bass leading Raman by double digits was bogus, company says

    Multiple people dead as flooding continues in Indiana : NPR

    Multiple people dead as flooding continues in Indiana : NPR

    Sophie Cunningham defends stance on biological men in women’s sports

    Sophie Cunningham defends stance on biological men in women’s sports

    Democrats Make South Carolina the First Contest in 2028 Presidential Primary Calendar

    Democrats Make South Carolina the First Contest in 2028 Presidential Primary Calendar

    Has the Left Really Met Its Limit? 

    Has the Left Really Met Its Limit? 

    U.S. Attorney confirms no meth was found in van of Texas man shot by immigration officers

    U.S. Attorney confirms no meth was found in van of Texas man shot by immigration officers

  • Video
  • World
    • Asia
    • Africa
    • South America
    • North America
    • Europe
    • Oceania
The Insight Post
  • Home
  • Insight
  • Blog
  • Business
  • Entertainment
  • Health
  • Politics
  • Shop
    • Gift Shop
    • Value Shop
    • Store
    • Bargain Shop
    • Discount
  • Sports
  • Tech
  • Travel
  • USA
    NTSB releases new videos, images from deadly Philadelphia medical jet crash

    NTSB releases new videos, images from deadly Philadelphia medical jet crash

    Iran Calls Trump ‘Delusional’ After He Claims Hormuz a ‘New U.S. Territory’

    Iran Calls Trump ‘Delusional’ After He Claims Hormuz a ‘New U.S. Territory’

    IPOs for Open AI, Anthropic could unlock 0B for charity

    IPOs for Open AI, Anthropic could unlock $430B for charity

    Poll showing Bass leading Raman by double digits was bogus, company says

    Poll showing Bass leading Raman by double digits was bogus, company says

    Multiple people dead as flooding continues in Indiana : NPR

    Multiple people dead as flooding continues in Indiana : NPR

    Sophie Cunningham defends stance on biological men in women’s sports

    Sophie Cunningham defends stance on biological men in women’s sports

    Democrats Make South Carolina the First Contest in 2028 Presidential Primary Calendar

    Democrats Make South Carolina the First Contest in 2028 Presidential Primary Calendar

    Has the Left Really Met Its Limit? 

    Has the Left Really Met Its Limit? 

    U.S. Attorney confirms no meth was found in van of Texas man shot by immigration officers

    U.S. Attorney confirms no meth was found in van of Texas man shot by immigration officers

  • Video
  • World
    • Asia
    • Africa
    • South America
    • North America
    • Europe
    • Oceania
No Result
View All Result
No Result
View All Result
Home Mobile

Google Drive cut code and development time in half with Jetpack Compose and new architecture

by Theinsightpost
May 2, 2024
in Mobile
0 0
0
Google Drive cut code and development time in half with Jetpack Compose and new architecture


Posted by Nick Butcher – Product Manager for Jetpack Compose, and Florina Muntenescu – Developer Relations Engineer

Google Drive cut code and development time in half with Jetpack Compose and new architecture

As one of the world’s most popular cloud-based storage services, Google Drive lets people do more than just store their files online. With Drive, users can synchronize, share, search, edit, and even pin specified files and content for safe and secure offline use.

Recently, Drive’s developers revamped the application’s home screen to provide a more seamless experience across devices, matching updates made to Google Drive’s web version. However, the app’s previous architecture and codebase would’ve prevented the team from completing the updates in a timely manner.

Instead of struggling with the app’s previous tech stack to implement the update, the Drive team rebuilt the home page from the ground up using Android’s recommended architecture and Jetpack Compose, Android’s modern declarative toolkit for creating native UI.

Compose, combined with architecture improvements, cut our development time nearly in half.” — Dale Hawkins, Senior software engineer and tech lead at Google Drive

Experimenting with Kotlin and Compose

The Drive team experimented with Kotlin — which the Compose toolkit is built with — for several months before planning the app’s home screen rebuild. Drive’s developers liked Kotlin’s improved syntax and null enforcement, making it easier to produce code.

“We had been using RxJava, but started looking into replacing that with coroutines,” said Dale Hawkins, the features team lead for Google Drive. “This led to a more natural alignment between coroutines and Jetpack Compose. After a deep dive into Compose, we came away with a clear understanding of how Compose has numerous benefits over the Views-based approach.”

Following the Kotlin exploration, Dale experimented with Jetpack Compose. “I was pleased with how easy it was to build the UI using Compose. So I continued the experiment after that week,” said Dale. “I eventually rewrote the feature using Compose.”

Using Compose

Shortly after experimenting with Jetpack Compose, the Drive team decided to use it to completely rebuild the app’s home screen UI.

“We wanted to make some major changes to match the ones being done for the web version, but that project had a several-month head start. We wanted to release the Android version shortly after the web changes went live to ensure our users have a seamless Google Drive experience across devices,” said Dale.

The Drive team’s experimentation and testing with Jetpack Compose showed that the new toolkit was powerful and reliable and that it would enable them to move faster. With this in mind, the Drive team decided to step away from their old codebase and embrace Jetpack Compose for the app’s home screen update. Not only would it be quicker and easier, but it would also better prepare the team to easily make future UI changes.

Using Android’s guidance for architecture

Before going all-in with Jetpack Compose, Drive developers wanted to restructure the application by implementing a completely new app architecture. Drive developers followed Android’s official architecture guidance to apply structural changes, paving the way for the new Kotlin codebase.

“The recommended architecture reinforces good separation between layers,” said Quintin Knudsen, an Android engineer for Google Drive. “We work in a highly dynamic environment and need to be able to adjust to any app changes. Using well-defined and independent layers helps isolate any changes or UI requirements. The recommendations from Android offered sound ways to structure the layers.” With a clear separation between the app’s data and UI layers, developers could work in parallel to significantly speed up testing and development.

Drive developers also relied on Mappers and UseCases when creating the new architecture. These patterns allowed them to create flexible code that is easier to manage. They also exposed flows from their ViewModels to make the UI respond immediately to any data changes, making it much simpler to implement and understand UI updates.

Less code, faster development

With the app’s newly improved architecture and Jetpack Compose, the Drive team was able to develop the app’s new home screen in less than half the time that they expected. They also implemented the new code and finished quality assurance testing nearly seven weeks ahead of schedule.

“Thanks to Compose, we had the groundwork done within a couple of weeks. We delivered a great implementation over a month ahead of schedule, and it’s been praised by product, UX, and even other engineering teams,” said Dale.

Despite having fewer features, the original home screen required over 12,000 lines of code. The new Compose-based home screen has many new features and only required 5,100 lines of code—a 57% reduction. Having less code makes it much easier for developers to maintain the app and implement any updates.

Testing the new UI in Jetpack Compose also required significantly less code. Before Compose, Drive developers used roughly 9,000 lines of code to test about 62% of the UI. With Compose, it took only 2,200 lines to test over 80% of the new UI.

The original home screen required over 12,000 lines of code. The Compose-based home screen only required 5,100 lines of code. That’s a 57% reduction.” — Dale Hawkins, Senior software engineer and tech lead at Google Drive

Looking forward

A new and improved app architecture paired with Jetpack Compose allowed Drive developers to rebuild the app’s home screen UI faster and easier than they could’ve imagined. The Drive team plans to expand its use of Compose within the application for things like supporting large dynamic displays and text resizing.

“As we work on new projects, we’re taking the opportunity to update older UI code to make use of our new architecture and Compose. The new code will be objectively better and features will be easier to write, test, and maintain,” said Dale.

Get started

Improve app architecture using Android’s official architecture guidance and optimize your UI development with Jetpack Compose.

ShareTweetSend
Previous Post

Knocked Up, American Pie, the Bean movie: A brief history of NZ music in Hollywood 

Next Post

Amica Life Insurance Review 2024: Pros & Cons

Related News

Intersignal Releases Braid Pathfinder Developer Preview
Mobile

Intersignal Releases Braid Pathfinder Developer Preview

August 19, 2026
Best Zimperium Alternatives for Mobile App Security in 2026
Mobile

Best Zimperium Alternatives for Mobile App Security in 2026

August 18, 2026
Best 20+ AI Development Companies in 2026
Mobile

Best 20+ AI Development Companies in 2026

August 18, 2026
How AI Is Redefining Supply Chain Resilience in 2026
Mobile

How AI Is Redefining Supply Chain Resilience in 2026

August 17, 2026
Next Post
Amica Life Insurance Review 2024: Pros & Cons

Amica Life Insurance Review 2024: Pros & Cons

Discussion about this post

Subscribe To Our Newsletters

    Customer Support


    1251 Wilcrest Drive
    Houston, Texas
    77042 USA
    Call-832.795.1420
    e-mail – news@theinsightpost.com

    Subscribe To Our Newsletters

      Categories

      • Africa
      • Africa-East
      • African Sports
      • American Sports
      • Arts
      • Asia
      • Australia
      • Business
      • Business Asia
      • Business- Africa
      • Canada
      • Defense
      • Education
      • Egypt
      • Energy
      • Entertainment
      • Europe
      • European Soccer
      • Finance
      • Germany
      • Ghana
      • Health
      • Insight
      • International
      • Investing
      • Japan
      • Latest Headlines
      • Life & Living
      • Markets
      • Mobile
      • Movies
      • New Zealand
      • Nigeria
      • Politics
      • Scholarships
      • Science
      • South Africa
      • South America
      • Sports
      • Tech
      • Travel
      • UK
      • USA
      • Weather
      • World
      No Result
      View All Result

      Recent News

      One year on, Raiders and Broncos still reckon with the legacy of their greatest game

      One year on, Raiders and Broncos still reckon with the legacy of their greatest game

      August 19, 2026
      The Language Barrier Is the Real Barrier in Edtech

      The Language Barrier Is the Real Barrier in Edtech

      August 19, 2026
      Netflix and Chills | Short Horror Film

      Netflix and Chills | Short Horror Film

      August 19, 2026
      One Month After MV Barima Sank, Search Operations Have Ended, No Salvage Contractor Named, And Questions Remain

      One Month After MV Barima Sank, Search Operations Have Ended, No Salvage Contractor Named, And Questions Remain

      August 19, 2026
      • Home
      • Advertise With Us
      • About Us
      • Corporate
      • Consumer Rewards
      • Forum
      • Privacy Policy
      • Social Trends

      Theinsightpost ©2026 | All Rights Reserved. Theinsightpost is an Elnegy LLC company, registered in Texas, USA

      Welcome Back!

      Login to your account below

      Forgotten Password?

      Retrieve your password

      Please enter your username or email address to reset your password.

      Log In

      Add New Playlist

      We are using cookies to give you the best experience on our website.

      You can find out more about which cookies we are using or switch them off in .

      No Result
      View All Result
      • Home
      • Insight
      • Blog
      • Business
      • Entertainment
      • Health
      • Politics
      • Shop
        • Gift Shop
        • Value Shop
        • Store
        • Bargain Shop
        • Discount
      • Sports
      • Tech
      • Travel
      • USA
      • Video
      • World
        • Asia
        • Africa
        • South America
        • North America
        • Europe
        • Oceania

      Theinsightpost ©2026 | All Rights Reserved. Theinsightpost is an Elnegy LLC company, registered in Texas, USA

      The Insight Post
      Powered by  GDPR Cookie Compliance
      Privacy Overview

      This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

      Strictly Necessary Cookies

      Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

      Cookie Policy

      More information about our Cookie Policy