Cuvva builds faster and with higher quality with Compose
Stay organized with collections
Save and categorize content based on your preferences.
Cuvva is making insurance radically better
by giving you a truly flexible way to manage your cover, all from your phone.
The Android engineers at Cuvva got to spend some time re-architecting their app
and decided to adopt a unidirectional data flow and Jetpack Compose. That way
they could move away from their custom View based design system, which was
slower and harder to work with, and less predictable on older versions of
Android.
What they did
The Cuvva team created new design components from scratch, then used the
interoperability APIs to place Composables inside existing layouts and, with
time, replace View-based screens and build new screens with Compose. “We found
that Compose lets us create new design components from scratch much more
rapidly and spend less time trying to work around state management or
fragmentation. Once we had built up a large enough library of these components,
shipping a new screen became very fast, and it has definitely helped us to be
more productive.”
Results
Compose allowed them to build a higher quality app faster: “The speed at which
Compose allows us to put together a new feature means we can iterate more
rapidly, providing a higher-quality experience for our customers faster than
before.“
With Compose the number of lines you need to write, and therefore read,
understand, and maintain, decreases: “we were very pleased to see how few lines
were required to create lists or animations in our app. Compose has definitely
dramatically reduced the number of lines of code required to build our UI.”
Custom components are easier to implement: “We created a circular dial
component which is used to show customers their driving score. Animating its
progress and colours with Compose was far easier and a lot more fun than it
would have been previously. Doing anything custom, whether that’s new
components or changing the behaviour of existing ones, is far easier in
Compose.”
Get started
Learn more about Compose.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-07-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-07-28 UTC."],[],[],null,["[Cuvva](https://www.cuvva.com/) is making insurance radically better\nby giving you a truly flexible way to manage your cover, all from your phone.\nThe Android engineers at Cuvva got to spend some time re-architecting their app\nand decided to adopt a unidirectional data flow and Jetpack Compose. That way\nthey could **move away from their custom View based design system**, which was\nslower and harder to work with, and less predictable on older versions of\nAndroid.\n\nWhat they did\n\nThe Cuvva team created new design components from scratch, then used the\ninteroperability APIs to place Composables inside existing layouts and, with\ntime, replace View-based screens and build new screens with Compose. *\"We found\nthat Compose lets us create new design components from scratch **much more\nrapidly** and spend less time trying to work around state management or\nfragmentation. Once we had built up a large enough library of these components,\nshipping a new screen became very fast, and it has definitely helped us to be\nmore productive.\"*\n\nResults\n\nCompose allowed them to build a higher quality app faster: *\"The speed at which\nCompose allows us to put together a new feature means **we can iterate more\nrapidly, providing a higher-quality experience** for our customers faster than\nbefore.\"*\n\nWith Compose the number of lines you need to write, and therefore read,\nunderstand, and maintain, decreases: *\"we were very pleased to see how few lines\nwere required to create lists or animations in our app. Compose has definitely\n**dramatically reduced the number of lines of code** required to build our UI.\"*\n\nCustom components are easier to implement: *\"We created a circular dial\ncomponent which is used to show customers their driving score. **Animating** its\nprogress and colours with Compose was **far easier and a lot more fun** than it\nwould have been previously. Doing anything custom, whether that's new\ncomponents or changing the behaviour of existing ones, is far easier in\nCompose.\"*\n\nGet started\n\nLearn more about [Compose](/jetpack/compose)."]]