ממשקי API ליכולת פעולה הדדית
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
העברה מצטברת של האפליקציה ל-Compose פירושה ש-Compose ו-Views יתקיימו יחד באפליקציה.
בדפים הבאים מתוארים ממשקי ה-API הספציפיים שבהם צריך להשתמש כדי לשלב את Compose באפליקציה קיימת שמבוססת על View:
מומלץ עבורך
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-27 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-08-27 (שעון UTC)."],[],[],null,["Incrementally migrating your app to Compose means that Compose and Views will\nco-exist in your app.\n\nThe following pages describe the specific APIs you need to use to integrate\nCompose within your existing View-based app:\n\n- [Using Compose in Views](/develop/ui/compose/migrate/interoperability-apis/compose-in-views): Learn about `ComposeView`---the API to use to add Compose in Views.\n- [Using Views in Compose](/develop/ui/compose/migrate/interoperability-apis/views-in-compose): Learn about `AndroidView` and `AndroidViewBinding`---APIs for using Views in Compose.\n\nRecommended for you\n\n- Note: link text is displayed when JavaScript is off\n- [Display emoji](/develop/ui/compose/text/emoji)\n- [Using Views in Compose](/develop/ui/compose/migrate/interoperability-apis/views-in-compose)\n- [Migrate `CoordinatorLayout` to Compose](/develop/ui/compose/migrate/migration-scenarios/coordinator-layout)"]]