כשעוברים לאפליקציה של Compose באופן מצטבר, Compose ו-Views יהיו באפליקציה בו-זמנית.
בדפים הבאים מתוארים ממשקי ה-API הספציפיים שבהם צריך להשתמש כדי לשלב כתיבת הודעה באפליקציה הקיימת המבוססת על תצוגה:
- שימוש בתכונה 'כתיבה בתצוגה': מידע על
ComposeView
– ממשק ה-API שבו משתמשים כדי להוסיף את התכונה 'כתיבה בתצוגה'. - שימוש בתצוגות ב-Compose: מידע על
AndroidView
ו-AndroidViewBinding
– ממשקי API לשימוש בתצוגות ב-Compose.
מומלץ עבורך
הצגת סמלי אמוג'י
Jetpack Compose is Android's recommended modern toolkit for building native UI. It simplifies and accelerates UI development on Android. Quickly bring your app to life with less code, powerful tools, and intuitive Kotlin APIs.
שימוש בתצוגות מפורטות בכתיבה
Jetpack Compose is Android's recommended modern toolkit for building native UI. It simplifies and accelerates UI development on Android. Quickly bring your app to life with less code, powerful tools, and intuitive Kotlin APIs.
העברת CoordinatorLayout לכתיבה
Jetpack Compose is Android's recommended modern toolkit for building native UI. It simplifies and accelerates UI development on Android. Quickly bring your app to life with less code, powerful tools, and intuitive Kotlin APIs.