wear compose remote

  
DO ZROBIENIA
Najnowsza aktualizacja Wersja stabilna Wersja kandydująca do publikacji Wersja beta Wersja alfa
25 marca 2026 r. - - 1.0.0-alpha01

Deklarowanie zależności

Aby dodać zależność od wear compose remote, musisz dodać do projektu repozytorium Maven Google. Więcej informacji znajdziesz w artykule Repozytorium Maven Google.

Dodaj zależności dotyczące potrzebnych artefaktów w pliku build.gradle aplikacji lub modułu:

Odlotowe

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:"
}

Więcej informacji o zależnościach znajdziesz w artykule Dodawanie zależności kompilacji.

Opinia

Twoja opinia pomoże nam ulepszyć Jetpacka. Jeśli odkryjesz nowe problemy lub masz pomysły na ulepszenie tej biblioteki, daj nam znać. Zanim utworzysz nowy problem, zapoznaj się z dotychczasowymi problemami w tej bibliotece. Możesz oddać głos na istniejący problem, klikając przycisk gwiazdki.

Tworzenie nowego problemu

Więcej informacji znajdziesz w dokumentacji narzędzia Issue Tracker.

Wersja 1.0

Wersja 1.0.0-alpha01

25 marca 2026 r.

Publikacja androidx.wear.compose.remote:remote-material3:1.0.0-alpha01 Wersja 1.0.0-alpha01 zawiera te zmiany.

Zmiany w interfejsie API

  • Udostępniaj publiczne interfejsy API RemoteTextButton. (I169e3, b/492476015)
  • Udostępniaj publiczne interfejsy API RemoteIconButton. (Id7c71, b/492476015)
  • Udostępniaj publiczne interfejsy API RemoteButtonGroup. (Ibfc22, b/492476015)
  • Udostępnianie RemoteButton, RemoteCompactButton, RemoteButtonDefaultsRemoteButtonColors jako publicznych interfejsów API (I3bcdd, b/492476015)
  • Udostępnienie RemoteIcon jako publicznego interfejsu API (I0cc79, b/492476015)
  • Udostępnianie RemoteText jako publicznych interfejsów API (I8a11a, b/492476015)
  • Expose RemoteFloat.asRemoteDp() (I28b36, b/446824085)