שליטה מרחוק בכתיבת הודעות ב-Wear

  
TODO
העדכון האחרון גרסה יציבה גרסה מועמדת להפצה גרסת בטא גרסת אלפא
‫25 במרץ 2026 - - - ‎1.0.0-alpha01

הצהרה על יחסי תלות

כדי להוסיף תלות ב-wear compose remote, צריך להוסיף את מאגר Google Maven לפרויקט. מידע נוסף זמין במאמר בנושא מאגר Maven של Google.

אתם יכולים להוסיף את יחסי התלות של הארטיפקטים שאתם צריכים בקובץ build.gradle של האפליקציה או המודול:

מגניב

dependencies {
    // Use to implement wear compose.remotes
    //TODO: Confirm these dependencies
    implementation "androidx.wear.compose.remote:compose-remote:"

    // Use to implement wear compose.remote complications
    //TODO: Confirm these dependencies
    implementation "androidx.wear.compose.remote:compose-remote-complications-data-source:"
    // (Kotlin-specific extensions)
    //TODO: Confirm these dependencies
    implementation "androidx.wear.compose.remote:compose-remote-complications-data-source-ktx:"

    // Use to implement a compose.remote style and complication editor
    //TODO: Confirm these dependencies
    implementation "androidx.wear.compose.remote:compose-remote-editor:"

    // Can use to render complications.
    //TODO: Confirm these dependencies
    // This library is optional and compose.remotes may have custom implementation for rendering
    // complications.
    //TODO: Confirm these dependencies
    implementation "androidx.wear.compose.remote:compose-remote-complications-rendering:"
}

Kotlin

dependencies {
    // Use to implement wear compose.remotes
    //TODO: Confirm these dependencies
    implementation("androidx.wear.compose.remote:compose-remote:")

    // Use to implement wear compose.remote complications
    //TODO: Confirm these dependencies
    implementation "androidx.wear.compose.remote:compose-remote-complications-data-source:"
    // (Kotlin-specific extensions)
    //TODO: Confirm these dependencies
    implementation "androidx.wear.compose.remote:compose-remote-complications-data-source-ktx:"

    // Use to implement a compose.remote style and complication editor
    //TODO: Confirm these dependencies
    implementation("androidx.wear.compose.remote:compose-remote-editor:")

    // Can use to render complications.
    //TODO: Confirm these dependencies
    // This library is optional and compose.remotes may have custom implementation for rendering
    // complications.
    //TODO: Confirm these dependencies
    implementation "androidx.wear.compose.remote:compose-remote-complications-rendering:"
}

מידע נוסף זמין במאמר הוספת יחסי תלות ב-build.

משוב

המשוב שלכם עוזר לנו לשפר את Jetpack. נשמח לדעת אם גיליתם בעיות חדשות או אם יש לכם רעיונות איך לשפר את הספרייה הזו. כדאי לעיין בבעיות הידועות בספרייה הזו לפני שמדווחים על בעיה. כדי להוסיף הצבעה בדיווח על בעיה קיימת, לוחצים על כפתור הכוכב.

יצירת דיווח על בעיה חדשה

מידע נוסף זמין במאמרי העזרה בנושא Issue Tracker.

גירסה 1.0

גרסה 1.0.0-alpha01

‫25 במרץ 2026

androidx.wear.compose.remote:remote-material3:1.0.0-alpha01 מופץ. גרסה 1.0.0-alpha01 מכילה את השמירות האלה.

שינויים ב-API

  • חשיפת ממשקי API ציבוריים של RemoteTextButton. (I169e3, ‏ b/492476015)
  • חשיפת ממשקי API ציבוריים של RemoteIconButton. (Id7c71, b/492476015)
  • חשיפת ממשקי API ציבוריים של RemoteButtonGroup. (Ibfc22, ‏ b/492476015)
  • חשיפת RemoteButton, ‏ RemoteCompactButton, ‏ RemoteButtonDefaults ו-RemoteButtonColors כממשקי API ציבוריים (I3bcdd, ‏ b/492476015)
  • הצגת RemoteIcon כממשק API ציבורי (I0cc79, ‏ b/492476015)
  • חשיפת RemoteText כממשקי API ציבוריים (I8a11a, ‏ b/492476015)
  • Expose RemoteFloat.asRemoteDp() (I28b36, b/446824085)