xr projected

  
สิ่งที่ต้องทำ
อัปเดตล่าสุด รุ่นที่เสถียร รุ่นที่อาจได้รับการเผยแพร่ รุ่นเบต้า รุ่นอัลฟ่า
22 ตุลาคม 2025 - - - 1.0.0-alpha01

การประกาศทรัพยากร Dependency

หากต้องการเพิ่มทรัพยากร Dependency ใน xr projected คุณต้องเพิ่มที่เก็บ Maven ของ Google ลงในโปรเจ็กต์ อ่านข้อมูลเพิ่มเติมได้ที่ที่เก็บ Maven ของ Google

เพิ่มทรัพยากร Dependency สำหรับอาร์ติแฟกต์ที่ต้องการในไฟล์ build.gradle สำหรับ แอปหรือโมดูล

ดึงดูด

dependencies {
    // Use to implement xr projecteds
    //TODO: Confirm these dependencies
    implementation "androidx.xr.projected:projected:1.0.0-alpha01"

    // Use to implement xr projected complications
    //TODO: Confirm these dependencies
    implementation "androidx.xr.projected:projected-complications-data-source:1.0.0-alpha01"
    // (Kotlin-specific extensions)
    //TODO: Confirm these dependencies
    implementation "androidx.xr.projected:projected-complications-data-source-ktx:1.0.0-alpha01"

    // Use to implement a projected style and complication editor
    //TODO: Confirm these dependencies
    implementation "androidx.xr.projected:projected-editor:1.0.0-alpha01"

    // Can use to render complications.
    //TODO: Confirm these dependencies
    // This library is optional and projecteds may have custom implementation for rendering
    // complications.
    //TODO: Confirm these dependencies
    implementation "androidx.xr.projected:projected-complications-rendering:1.0.0-alpha01"
}

Kotlin

dependencies {
    // Use to implement xr projecteds
    //TODO: Confirm these dependencies
    implementation("androidx.xr.projected:projected:1.0.0-alpha01")

    // Use to implement xr projected complications
    //TODO: Confirm these dependencies
    implementation "androidx.xr.projected:projected-complications-data-source:1.0.0-alpha01"
    // (Kotlin-specific extensions)
    //TODO: Confirm these dependencies
    implementation "androidx.xr.projected:projected-complications-data-source-ktx:1.0.0-alpha01"

    // Use to implement a projected style and complication editor
    //TODO: Confirm these dependencies
    implementation("androidx.xr.projected:projected-editor:1.0.0-alpha01")

    // Can use to render complications.
    //TODO: Confirm these dependencies
    // This library is optional and projecteds may have custom implementation for rendering
    // complications.
    //TODO: Confirm these dependencies
    implementation "androidx.xr.projected:projected-complications-rendering:1.0.0-alpha01"
}

ดูข้อมูลเพิ่มเติมเกี่ยวกับการพึ่งพาได้ที่เพิ่มการพึ่งพาบิลด์

ความคิดเห็น

ความคิดเห็นของคุณช่วยเราปรับปรุง Jetpack ให้ดียิ่งขึ้น โปรดแจ้งให้เราทราบหากพบปัญหาใหม่หรือมี ไอเดียในการปรับปรุงไลบรารีนี้ โปรดดูปัญหาที่มีอยู่ ในไลบรารีนี้ก่อนสร้างปัญหาใหม่ คุณสามารถโหวตปัญหาที่มีอยู่ได้โดย คลิกปุ่มดาว

สร้างปัญหาใหม่

ดูข้อมูลเพิ่มเติมได้ในเอกสารประกอบของเครื่องมือติดตามปัญหา

รุ่น 1.0

เวอร์ชัน 1.0.0-alpha01

22 ตุลาคม 2025

androidx.xr.projected:projected:1.0.0-alpha01 ได้รับการเผยแพร่แล้ว เวอร์ชัน 1.0.0-alpha01 มีการเปลี่ยนแปลงเหล่านี้

ฟีเจอร์ใหม่

  • เพิ่มไลบรารี XR ที่คาดการณ์ (Ieedea7)