Cuvva는 Compose를 통해 더 빠르게 더 높은 품질로 빌드합니다.
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Cuvva는 휴대전화에서 보험을 관리할 수 있는 유연한 방법을 제공하여 보험을 획기적으로 개선하고 있습니다.
Cuvva의 Android 엔지니어들은 앱을 재구성하는 데 시간을 할애하여 단방향 데이터 흐름과 Jetpack Compose를 채택하기로 했습니다. 이렇게 하면 속도가 느리고 작업하기 어려우며 이전 버전의 Android에서 예측하기 어려웠던 맞춤 뷰 기반 디자인 시스템에서 벗어날 수 있습니다.
진행한 작업
Cuvva팀은 처음부터 새로운 디자인 구성요소를 만든 다음, 상호 운용성 API를 사용하여 기존 레이아웃 내에 컴포저블을 배치하고 시간이 지남에 따라 뷰 기반 화면을 대체하고 Compose로 새로운 화면을 빌드했습니다. 'Compose를 사용하면 새로운 디자인 구성요소를 처음부터 훨씬 더 빠르게 만들 수 있고 상태 관리나 조각화를 해결하는 데 시간을 덜 소비할 수 있습니다. 이러한 구성요소의 라이브러리를 충분히 구축한 후에는 새 화면을 매우 빠르게 제공할 수 있었고 생산성을 높이는 데 확실히 도움이 되었습니다.”
결과
Compose를 사용하면 더 빠르게 고품질 앱을 빌드할 수 있습니다. 'Compose를 사용하면 새로운 기능을 정말 빠르게 준비할 수 있어요. 덕분에 절차를 더 빠르게 반복하고 그 어느 때보다 신속하게 더 우수한 경험을 고객에게 제공할 수 있게 되었습니다.'
Compose를 사용하면 작성해야 하는 코드 줄 수가 줄어들고 따라서 읽고, 이해하고, 유지관리해야 하는 코드 줄 수도 줄어듭니다. '앱에서 목록이나 애니메이션을 만드는 데 필요한 코드 줄이 이렇게 적다는 사실이 매우 기뻤습니다. Compose는 UI를 빌드하는 데 필요한 코드 줄 수를 크게 줄여주었습니다.'
맞춤 구성요소는 구현하기가 더 쉽습니다. '고객에게 운전 점수를 표시하는 데 사용되는 원형 다이얼 구성요소를 만들었습니다. Compose를 사용하여 진행률과 색상을 애니메이션으로 표시하는 것이 이전보다 훨씬 쉽고 재미있었습니다. 새 구성요소를 추가하든 기존 구성요소의 동작을 변경하든 Compose에서는 맞춤설정이 훨씬 쉽습니다.'
시작하기
Compose에 대해 자세히 알아보세요.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2021-07-28(UTC)
[null,null,["최종 업데이트: 2021-07-28(UTC)"],[],[],null,["# Cuvva builds faster and with higher quality with Compose\n\n[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-------------\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-------\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-----------\n\nLearn more about [Compose](/jetpack/compose)."]]