Wear Remote Compose Material 3
| อัปเดตล่าสุด | รุ่นที่เสถียร | รุ่นที่อาจได้รับการเผยแพร่ | รุ่นเบต้า | รุ่นอัลฟ่า |
|---|---|---|---|---|
| 23 กันยายน 2026 | - | - | - | 1.0.0-alpha12 |
การประกาศทรัพยากร Dependency
หากต้องการเพิ่มทรัพยากร Dependency ใน Wear Compose Remote คุณต้องเพิ่มที่เก็บ Maven ของ Google ลงในโปรเจ็กต์ อ่านข้อมูลเพิ่มเติมได้ที่ที่เก็บ Maven ของ Google
เพิ่มทรัพยากร Dependency สำหรับอาร์ติแฟกต์ที่ต้องการในไฟล์ build.gradle สำหรับ
แอปหรือโมดูล
ดึงดูด
dependencies { implementation "androidx.wear.compose.remote:remote-material3:1.0.0-alpha12" }
Kotlin
dependencies { implementation("androidx.wear.compose.remote:remote-material3:1.0.0-alpha12") }
ดูข้อมูลเพิ่มเติมเกี่ยวกับ Dependency ได้ที่เพิ่ม Dependency ของบิลด์
ความคิดเห็น
ความคิดเห็นของคุณช่วยให้ Jetpack ทำงานได้ดีขึ้น โปรดแจ้งให้เราทราบหากพบปัญหาใหม่หรือมี ไอเดียในการปรับปรุงไลบรารีนี้ โปรดดู ปัญหาที่มีอยู่ ในไลบรารีนี้ก่อนสร้างปัญหาใหม่ คุณสามารถโหวตปัญหาที่มีอยู่ได้โดย คลิกปุ่มดาว
ดูข้อมูลเพิ่มเติมได้ในเอกสารประกอบของ Issue Tracker
รุ่น 1.0
เวอร์ชัน 1.0.0-alpha12
23 กันยายน 2026
androidx.wear.compose.remote:remote-material3:1.0.0-alpha12 ได้รับการเผยแพร่แล้ว เวอร์ชัน 1.0.0-alpha12 มีการคอมมิตเหล่านี้
การเปลี่ยนแปลง API
- เพิ่ม
ImageVector.toRemoteImageVector()และRemoteImageVector.vectorResource(@DrawableRes id: Int)เพื่อแปลง UI ของ ComposeImageVectorและทรัพยากรเวกเตอร์ที่วาดได้เป็นRemoteImageVector(Ia8383) - เปิดเผย
RemoteSplitSwitchButton,RemoteSplitSwitchButtonDefaultsและRemoteSplitSwitchButtonColorsเป็น API สาธารณะใน Wear Material 3 Remote Compose (Ic9b7f) - เปิดเผย
RemoteSplitRadioButton,RemoteSplitRadioButtonDefaultsและRemoteSplitRadioButtonColorsเป็น API สาธารณะใน Wear Material 3 Remote Compose (I4d0c2) - เปิดเผย
RemoteSplitCheckboxButton,RemoteSplitCheckboxButtonDefaultsและRemoteSplitCheckboxButtonColorsเป็น API สาธารณะใน Wear Material 3 Remote Compose (Iffdef) - เปิดเผย
RemoteSwitchButton,RemoteSwitchButtonDefaultsและRemoteSwitchButtonColorsเป็น API สาธารณะใน Wear Material 3 Remote Compose (I0155b) - เปิดเผย
RemoteRadioButton,RemoteRadioButtonDefaultsและRemoteRadioButtonColorsเป็น API สาธารณะใน Wear Material 3 Remote Compose (I513ce) - เปิดเผย
RemoteCheckboxButton,RemoteCheckboxButtonDefaultsและRemoteCheckboxButtonColorsเป็น API สาธารณะใน Wear Material 3 Remote Compose (If5c8a) - เพิ่ม
filledIconButtonColors,filledTonalIconButtonColors,filledVariantIconButtonColorsและoutlinedIconButtonColorsไปยังRemoteIconButtonDefaultsใน Wear Material 3 Remote Compose และอัปเดตค่าเริ่มต้นของพารามิเตอร์iconButtonColorsและtextButtonColorsเป็น null (Ib0b0e) - เพิ่มการรองรับ
containerPainterให้กับRemoteCardและRemoteTitleCardใน Wear Material 3 Remote Compose (I4f1bc)
การแก้ไขข้อบกพร่อง
- แก้ไขปัญหา
RemoteEdgeButtonข้อความล้นออกนอกรูปทรงโค้งของปุ่มในป้ายกำกับยาว (I2eb3d)
เวอร์ชัน 1.0.0-alpha11
9 กันยายน 2026
androidx.wear.compose.remote:remote-material3:1.0.0-alpha11 ได้รับการเผยแพร่แล้ว เวอร์ชัน 1.0.0-alpha11 มีการเปลี่ยนแปลงเหล่านี้
การเปลี่ยนแปลง API
- เพิ่มคอมโพเนนต์
RemoteEdgeButtonไปยังwear:compose:remote:remote-material3แล้ว (I017a6) - ทำให้
RemoteCircularProgressIndicatorและRemoteProgressIndicatorDefaults.IndeterminateStrokeWidthเป็น API สาธารณะที่ไม่มีการกำหนด (I937fc) - ทำให้
RemoteTimeTextและRemoteTimeTextDefaultsเป็น API สาธารณะ (I83809) - เพิ่มคอมโพเนนต์
RemoteLinearProgressIndicatorแล้ว (I828f3) - เพิ่ม
RemoteModifier.defaultMinSizeแล้ว (If86a5) - เพิ่มภาพเคลื่อนไหวสำหรับอินโทรและเอาต์โทรลงใน
RemoteCurvedProgressIndicator(I68012) - อัปเดต
RemoteCircularProgressIndicatorให้มีค่าเริ่มต้นเป็นRemoteProgressIndicatorDefaults.DefaultStrokeWidth(12.rdp) และแสดงlargeStrokeWidth(screenSize)กับsmallStrokeWidth(screenSize)(I1f16e)
การแก้ไขข้อบกพร่อง
compileSdkสำหรับไลบรารี Compose ที่อัปเดตเป็น 37.1 ซึ่งจะต้องอัปเดตcompileSdkสำหรับแอปและไลบรารีทั้งหมดที่ใช้ Compose (I05b0f)
เวอร์ชัน 1.0.0-alpha10
26 สิงหาคม 2026
androidx.wear.compose.remote:remote-material3:1.0.0-alpha10 ได้รับการเผยแพร่แล้ว เวอร์ชัน 1.0.0-alpha10 มีการเปลี่ยนแปลงเหล่านี้
การเปลี่ยนแปลง API
- เพิ่มการรองรับ
fontFeatureSettingsและfontVariationSettingsในRemoteTextStyle,RemoteTextและRemoteTimeText(I6e78d, b/544644370) - ย้ายวิดเจ็ตการเขียนระยะไกลพื้นฐานที่ย้ายข้อมูลแล้ว (
RemoteBasicText,RemoteBasicImage,RemoteSpacer,RemoteBasicIcon) ไปยังไลบรารีใหม่ของฟีเจอร์พื้นฐานสำหรับการควบคุมระยะไกล (I259b2, b/532028292) - เพิ่มการรองรับ
fontVariationSettingsในRemoteTextStyle(I2c44a, b/542047368) - เพิ่มคอมโพเนนต์
RemoteCurvedProgressIndicatorลงในไลบรารี Wear Remote Compose Material 3 (I975cf, b/530084464)
การแก้ไขข้อบกพร่อง
- เพิ่ม API
animateRemoteFloatAsStateและRemoteAnimationSpec(I404cb, b/549015113) - เพิ่ม
CompactButtonIconSpacing(4.rdp) ไปยังRemoteButtonDefaultsแล้ว (Idbec7, b/542906622, b/541382559, b/541382046, b/541382257) - แก้ไขการปรับขนาดและการจัดแนวความกว้างของขอบใน
RemoteButtonและRemoteCard(I8458b, b/544653389)
เวอร์ชัน 1.0.0-alpha09
12 สิงหาคม 2026
androidx.wear.compose.remote:remote-material3:1.0.0-alpha09 ได้รับการเผยแพร่แล้ว เวอร์ชัน 1.0.0-alpha09 มีการคอมมิตเหล่านี้
การเปลี่ยนแปลง API
- เปิดเผย
RemotePageIndicatorAPI (I990e1, b/527877281)
เวอร์ชัน 1.0.0-alpha08
29 กรกฎาคม 2026
androidx.wear.compose.remote:remote-material3:1.0.0-alpha08 ได้รับการเผยแพร่แล้ว เวอร์ชัน 1.0.0-alpha08 มีการคอมมิตเหล่านี้
การเปลี่ยนแปลง API
- เปิดเผยกลยุทธ์ LineBreak และความถี่ในการใส่ยัติภังค์ใน RemoteTextStyle (I7f2e6, b/510078059)
เวอร์ชัน 1.0.0-alpha07
1 กรกฎาคม 2026
androidx.wear.compose.remote:remote-material3:1.0.0-alpha07 ได้รับการเผยแพร่แล้ว เวอร์ชัน 1.0.0-alpha07 มีการเปลี่ยนแปลงเหล่านี้
การแก้ไขข้อบกพร่อง
- รุ่นที่อัปเดตแล้วซึ่งขึ้นอยู่กับ androidx.compose.remote ในคอมมิตเดียวกันเพื่อหลีกเลี่ยงความเข้ากันไม่ได้ของไบนารี
เวอร์ชัน 1.0.0-alpha06
17 มิถุนายน 2026
androidx.wear.compose.remote:remote-material3:1.0.0-alpha06 ได้รับการเผยแพร่แล้ว เวอร์ชัน 1.0.0-alpha06 มีการเปลี่ยนแปลงเหล่านี้
การเปลี่ยนแปลง API
- อัปเดตวิธีการ
containerPainterเพื่อใช้RemoteImageBitmapแทน (I68a92, b/494562308) - เปลี่ยนชื่อ
RemoteBitmapเป็นRemoteImageBitmapเพื่อให้การตั้งชื่อมีความสอดคล้องกันมากขึ้น (I4fde1, b/513228889) - เปิดตัว
captureRemoteDocumentFlow API และcaptureSingleRemoteDocumentโอเวอร์โหลดใหม่ (ซึ่งใช้RemoteCreationDisplayInfo) เป็น API สาธารณะ (I87b0e, b/513228889) - เปลี่ยนชื่อฟังก์ชัน Factory
ValueChangeที่มีอยู่แล้วเป็นตัวพิมพ์เล็กvalueChange(I812b9, b/513228889)
เวอร์ชัน 1.0.0-alpha05
3 มิถุนายน 2026
androidx.wear.compose.remote:remote-material3:1.0.0-alpha05 ได้รับการเผยแพร่แล้ว เวอร์ชัน 1.0.0-alpha05 มีคอมมิตเหล่านี้
การแก้ไขข้อบกพร่อง
- แก้ไขตัวสร้าง
RemoteTypography(bf0c0b2)
เวอร์ชัน 1.0.0-alpha04
19 พฤษภาคม 2026
androidx.wear.compose.remote:remote-material3:1.0.0-alpha04 ได้รับการเผยแพร่แล้ว เวอร์ชัน 1.0.0-alpha04 มีการเปลี่ยนแปลงเหล่านี้
การเปลี่ยนแปลง API
- เปิดเผย
RemoteStatestatic factories (I544f0, b/484137042) - อัปเดต
RemoteTextเพื่อใช้RemoteFontFamilyแทนFontFamily(Ib76b6, b/502907551)
เวอร์ชัน 1.0.0-alpha03
6 พฤษภาคม 2026
androidx.wear.compose.remote:remote-material3:1.0.0-alpha03 ได้รับการเผยแพร่แล้ว เวอร์ชัน 1.0.0-alpha03 มีการเปลี่ยนแปลงเหล่านี้
การเปลี่ยนแปลง API
- เปลี่ยนตัวแก้ไขที่คลิกได้เป็นไม่ยอมรับค่า Null สำหรับพารามิเตอร์การกระทํา โปรดใช้
Action.Emptyแทน (I21be9, b/498881738) - เปลี่ยนตัวแก้ไข
clickable(varargs action)เป็นclickable(action)แล้ว ใช้CombinedActionสำหรับรายการการดำเนินการ (I8432d, b/498881738)
เวอร์ชัน 1.0.0-alpha02
8 เมษายน 2026
androidx.wear.compose.remote:remote-material3:1.0.0-alpha02 ได้รับการเผยแพร่แล้ว เวอร์ชัน 1.0.0-alpha02 มีการคอมมิตเหล่านี้
การเปลี่ยนแปลง API
- เปิดเผย
RemoteCircularProgressIndicator,RemoteProgressIndicatorDefaultsและRemoteProgressIndicatorColors(I64481, b/492476015) - เปิดเผย
RemoteTitleCard(Ic65ff, b/492476015) - เปิดเผย
RemoteMaterialTheme(I07329, b/492476015) - เปิดเผย
RemoteAppCard(Ib6fbc, b/492476015) - เปิดเผย
RemoteCard,RemoteOutlinedCard,RemoteCardDefaultsและRemoteCardColors(I2bcfd, b/492476015) - เปิดเผย
RemoteColorScheme(Id0e88, b/492476015) - เปิดเผย
RemoteTypography(Ib6f88, b/492476015) - เปิดเผย
RemoteShapes(I6c356, b/492476015)
การเปลี่ยนแปลงอื่นๆ
- อัปเดต Compose
compileSdkเป็น API 37 ซึ่งหมายความว่าเมื่อใช้ Compose จะต้องใช้ AGP เวอร์ชัน 9.2.0 เป็นอย่างน้อย (Id45cd, b/413674743)
เวอร์ชัน 1.0.0-alpha01
25 มีนาคม 2026
androidx.wear.compose.remote:remote-material3:1.0.0-alpha01 ได้รับการเผยแพร่แล้ว เวอร์ชัน 1.0.0-alpha01 มีการเปลี่ยนแปลงเหล่านี้
การเปลี่ยนแปลง API
- เปิดเผย
RemoteTextButtonAPI สาธารณะ (I169e3, b/492476015) - เปิดเผย
RemoteIconButtonAPI สาธารณะ (Id7c71, b/492476015) - เปิดเผย
RemoteButtonGroupAPI สาธารณะ (Ibfc22, b/492476015) - เปิดเผย
RemoteButton,RemoteCompactButton,RemoteButtonDefaultsและRemoteButtonColorsเป็น API สาธารณะ (I3bcdd, b/492476015) - เปิดเผย
RemoteIconเป็น API สาธารณะ (I0cc79, b/492476015) - เปิดเผย
RemoteTextเป็น API สาธารณะ (I8a11a, b/492476015) - เปิดเผย
RemoteFloat.asRemoteDp()(I28b36, b/446824085)