wear compose remote
| Update Terbaru | Rilis Stabil | Kandidat Rilis | Rilis Beta | Rilis Alfa |
|---|---|---|---|---|
| 25 Maret 2026 | - | - | - | 1.0.0-alpha01 |
Mendeklarasikan dependensi
Untuk menambahkan dependensi pada wear compose remote, Anda harus menambahkan repositori Maven Google ke project Anda. Baca repositori Maven Google untuk mengetahui informasi selengkapnya.
Tambahkan dependensi untuk artefak yang diperlukan dalam file build.gradle bagi aplikasi atau modul Anda:
Groovy
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:" }
Untuk informasi dependensi selengkapnya, lihat Menambahkan dependensi build.
Masukan
Masukan Anda membantu meningkatkan kualitas Jetpack. Beri tahu kami jika Anda menemukan masalah baru atau mempunyai masukan untuk meningkatkan kualitas library ini. Harap periksa masalah yang sudah diketahui dalam library ini sebelum membuat laporan baru. Anda dapat memberikan suara untuk masalah yang sudah diketahui dengan mengklik tombol bintang.
Lihat dokumentasi Issue Tracker untuk informasi selengkapnya.
Versi 1.0
Versi 1.0.0-alpha01
25 Maret 2026
androidx.wear.compose.remote:remote-material3:1.0.0-alpha01 dirilis. Versi 1.0.0-alpha01 berisi commit ini.
Perubahan API
- Mengekspos API publik
RemoteTextButton. (I169e3, b/492476015) - Mengekspos API publik
RemoteIconButton. (Id7c71, b/492476015) - Mengekspos API publik
RemoteButtonGroup. (Ibfc22, b/492476015) - Mengekspos
RemoteButton,RemoteCompactButton,RemoteButtonDefaults, danRemoteButtonColorssebagai API publik (I3bcdd, b/492476015) - Mengekspos
RemoteIconsebagai API publik (I0cc79, b/492476015) - Mengekspos
RemoteTextsebagai API publik (I8a11a, b/492476015) - Mengekspos
RemoteFloat.asRemoteDp()(I28b36, b/446824085)