Wear Remote Compose Material 3

  
使用 Material 3 Expressive 設計系統,為 Wear OS 編寫小工具和其他 Remote UI。
最近更新時間 穩定版 候選版 Beta 版 Alpha 版
2026 年 6 月 17 日 - - - 1.0.0-alpha06

宣告依附元件

如要新增 wear compose remote 的依附元件,必須將 Google Maven 存放區新增至專案。詳情請參閱「Google 的 Maven 存放區」。

在應用程式或模組的 build.gradle 檔案中,新增您需要的構件依附元件:

Groovy

dependencies {
    implementation "androidx.wear.compose.remote:remote-material3:1.0.0-alpha06"
}

Kotlin

dependencies {
    implementation("androidx.wear.compose.remote:remote-material3:1.0.0-alpha06")
}

如要進一步瞭解依附元件,請參閱「新增建構依附元件」。

意見回饋

您的意見可協助我們改善 Jetpack。如果您發現新問題,或是有改進這個程式庫的建議,請告訴我們。回報新問題前,請先查看這個程式庫的現有問題。只要按一下星號按鈕,即可投票給現有的問題。

建立新問題

詳情請參閱 Issue Tracker 說明文件

1.0 版本

1.0.0-alpha06 版本

2026 年 6 月 17 日

發布 androidx.wear.compose.remote:remote-material3:1.0.0-alpha06。1.0.0-alpha06 版包含這些修訂項目

API 變更

  • 更新 containerPainter 方法,改為採用 RemoteImageBitmap (I68a92b/494562308)
  • 為提升命名一致性,請將 RemoteBitmap 重新命名為 RemoteImageBitmap。(I4fde1b/513228889)
  • 公開 captureRemoteDocument Flow API 和新的 captureSingleRemoteDocument 多載 (採用 RemoteCreationDisplayInfo) 做為公用 API。(I87b0eb/513228889)
  • 將現有的 ValueChange 工廠函式重新命名為小寫的 valueChange。(I812b9b/513228889)

1.0.0-alpha05 版本

2026 年 6 月 3 日

發布 androidx.wear.compose.remote:remote-material3:1.0.0-alpha05。1.0.0-alpha05 版包含這些修訂項目

修正錯誤

  • 修正 RemoteTypography 建構函式。(bf0c0b2)

1.0.0-alpha04 版本

2026 年 5 月 19 日

發布 androidx.wear.compose.remote:remote-material3:1.0.0-alpha04。1.0.0-alpha04 版包含這些修訂項目

API 變更

1.0.0-alpha03 版本

2026 年 5 月 6 日

發布 androidx.wear.compose.remote:remote-material3:1.0.0-alpha03。1.0.0-alpha03 版包含這些修訂項目

API 變更

  • 修飾符可點擊已變更,不再接受動作參數的空值。請改用 Action.Empty。(I21be9b/498881738)
  • 修飾符「clickable(varargs action)」已變更為「clickable(action)」。使用 CombinedAction 查看動作清單。(I8432db/498881738)

1.0.0-alpha02 版

2026 年 4 月 8 日

發布 androidx.wear.compose.remote:remote-material3:1.0.0-alpha02。1.0.0-alpha02 版包含這些修訂項目

API 變更

其他變更

  • Compose compileSdk 更新至 API 37。也就是說,使用 Compose 時,AGP 最低版本必須為 9.2.0。(Id45cdb/413674743)

1.0.0-alpha01 版

2026 年 3 月 25 日

發布 androidx.wear.compose.remote:remote-material3:1.0.0-alpha01。1.0.0-alpha01 版包含這些修訂項目

API 變更