wear watchfacepush
อัปเดตล่าสุด | รุ่นที่เสถียร | รุ่นที่อาจได้รับการเผยแพร่ | รุ่นเบต้า | เวอร์ชันอัลฟ่า |
---|---|---|---|---|
18 มิถุนายน 2025 | - | - | - | 1.0.0-alpha01 |
การประกาศทรัพยากร Dependency
หากต้องการเพิ่มทรัพยากร Dependency ของ wear watchfacepush คุณต้องเพิ่มที่เก็บ Maven ของ Google ลงในโปรเจ็กต์ อ่านข้อมูลเพิ่มเติมในที่เก็บ Maven ของ Google
เพิ่มการอ้างอิงสำหรับอาร์ติแฟกต์ที่ต้องการในไฟล์ build.gradle
สำหรับแอปหรือโมดูล
ดึงดูด
dependencies { // Use to implement wear watchfacepushs //TODO: Confirm these dependencies implementation "androidx.wear.watchfacepush:watchfacepush:1.0.0-alpha01" // Use to implement wear watchfacepush complications //TODO: Confirm these dependencies implementation "androidx.wear.watchfacepush:watchfacepush-complications-data-source:1.0.0-alpha01" // (Kotlin-specific extensions) //TODO: Confirm these dependencies implementation "androidx.wear.watchfacepush:watchfacepush-complications-data-source-ktx:1.0.0-alpha01" // Use to implement a watchfacepush style and complication editor //TODO: Confirm these dependencies implementation "androidx.wear.watchfacepush:watchfacepush-editor:1.0.0-alpha01" // Can use to render complications. //TODO: Confirm these dependencies // This library is optional and watchfacepushs may have custom implementation for rendering // complications. //TODO: Confirm these dependencies implementation "androidx.wear.watchfacepush:watchfacepush-complications-rendering:1.0.0-alpha01" }
Kotlin
dependencies { // Use to implement wear watchfacepushs //TODO: Confirm these dependencies implementation("androidx.wear.watchfacepush:watchfacepush:1.0.0-alpha01") // Use to implement wear watchfacepush complications //TODO: Confirm these dependencies implementation "androidx.wear.watchfacepush:watchfacepush-complications-data-source:1.0.0-alpha01" // (Kotlin-specific extensions) //TODO: Confirm these dependencies implementation "androidx.wear.watchfacepush:watchfacepush-complications-data-source-ktx:1.0.0-alpha01" // Use to implement a watchfacepush style and complication editor //TODO: Confirm these dependencies implementation("androidx.wear.watchfacepush:watchfacepush-editor:1.0.0-alpha01") // Can use to render complications. //TODO: Confirm these dependencies // This library is optional and watchfacepushs may have custom implementation for rendering // complications. //TODO: Confirm these dependencies implementation "androidx.wear.watchfacepush:watchfacepush-complications-rendering:1.0.0-alpha01" }
ดูข้อมูลเพิ่มเติมเกี่ยวกับการพึ่งพาได้ที่เพิ่มการพึ่งพิงบิวด์
ความคิดเห็น
ความคิดเห็นของคุณช่วยปรับปรุง Jetpack ได้ โปรดแจ้งให้เราทราบหากพบปัญหาใหม่หรือมีแนวคิดในการปรับปรุงคลังนี้ โปรดดูปัญหาที่มีอยู่ในคลังนี้ก่อนสร้างปัญหาใหม่ คุณสามารถเพิ่มการโหวตให้กับปัญหาที่มีอยู่ได้โดยคลิกปุ่มดาว
ดูข้อมูลเพิ่มเติมได้ที่เอกสารประกอบของเครื่องมือติดตามปัญหา
รุ่น 1.0
เวอร์ชัน 1.0.0-alpha01
18 มิถุนายน 2025
androidx.wear.watchfacepush:watchfacepush:1.0.0-alpha01
ได้รับการปล่อยแล้ว เวอร์ชัน 1.0.0-alpha01 มีการคอมมิตเหล่านี้
การเปลี่ยนแปลง API
- เพิ่ม Watch Face Push API ซึ่งช่วยให้แอป Wear OS ติดตั้งหน้าปัดในนาฬิกาแบบเป็นโปรแกรมได้
- ก่อนหน้านี้ API นี้เผยแพร่เป็น
:wear:watchface:watchface-push