기존 뷰 기반 앱 이전
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Jetpack Compose는 처음부터 뷰 상호 운용성을 고려하여 설계되었습니다. 즉, Compose를 뷰에서 사용할 수도 있고, 뷰에서 Compose를 사용할 수도 있습니다. 따라서 앱을 처음부터 다시 작성하지 않아도 기존 뷰 기반 앱에서 Compose를 채택할 수 있습니다.
다음과 같은 페이지에서는 기존 앱에 Compose를 통합하는 방법을 설명합니다.
- 이전 전략: Compose를 점진적으로 안전하게 코드베이스에 도입하는 전략을 알아봅니다.
- 상호 운용성 API: Compose의 API를 사용하여 Compose와 뷰 기반 UI를 결합하는 방법을 알아봅니다.
- 기타 고려사항: 테마 설정, 아키텍처, 테스트 등 뷰 기반 앱을 Compose로 이전할 때 유의해야 하는 그 밖의 고려사항을 알아봅니다.
샘플
다음 샘플은 Jetpack Compose와 뷰 상호 운용성을 보여줍니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-08-21(UTC)
[null,null,["최종 업데이트: 2025-08-21(UTC)"],[],[],null,["# Migrate existing View-based apps\n\nJetpack Compose was designed with View interoperability right from the start---you\ncan use Compose within Views, and vice versa. This functionality allows you\nto adopt Compose in your existing View-based app without having to rewrite it\nfrom scratch.\n\nThe following pages describe how to integrate Compose with your existing apps:\n\n- [Migration strategy](/develop/ui/compose/migrate/strategy): Learn the strategy to safely and incrementally introduce Compose into your codebase.\n- [Interoperability APIs](/develop/ui/compose/migrate/interoperability-apis): Learn about Compose's APIs to help you combine Compose with View-based UI.\n- [Other considerations](/develop/ui/compose/migrate/other-considerations): Learn other considerations like theming, architecture, and testing while migrating your View-based app to Compose.\n\n#### Samples\n\nThe following samples demonstrate Jetpack Compose and View interoperability:"]]