носить составлять пульт
| Последнее обновление | Стабильный релиз | Предварительная версия для выпуска | Бета-версия | Альфа-версия |
|---|---|---|---|---|
| 25 марта 2026 г. | - | - | - | 1.0.0-alpha01 |
Объявление зависимостей
Чтобы добавить зависимость от wear compose remote, необходимо добавить репозиторий Google Maven в ваш проект. Для получения дополнительной информации ознакомьтесь с информацией в репозитории Google Maven .
Добавьте зависимости для необходимых артефактов в файл build.gradle вашего приложения или модуля:
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:" }
Для получения дополнительной информации о зависимостях см. раздел «Добавление зависимостей сборки» .
Обратная связь
Ваши отзывы помогают улучшить Jetpack. Сообщите нам, если вы обнаружите новые проблемы или у вас есть идеи по улучшению этой библиотеки. Пожалуйста, ознакомьтесь с существующими проблемами в этой библиотеке, прежде чем создавать новую. Вы можете проголосовать за существующую проблему, нажав кнопку со звездочкой.
Для получения более подробной информации см. документацию по системе отслеживания ошибок .
Версия 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 )