เขียนจากระยะไกล

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

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

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

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

ดึงดูด

dependencies {
    // Use to implement compose remotes
    //TODO: Confirm these dependencies
    implementation "androidx.compose.remote:remote:1.0.0-alpha01"

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

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

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

Kotlin

dependencies {
    // Use to implement compose remotes
    //TODO: Confirm these dependencies
    implementation("androidx.compose.remote:remote:1.0.0-alpha01")

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

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

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

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

ความคิดเห็น

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

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

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

รุ่น 1.0

เวอร์ชัน 1.0.0-alpha01

17 ธันวาคม 2025

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

  • Remote Compose เป็นเฟรมเวิร์กสำหรับสร้าง UI สำหรับแพลตฟอร์มระยะไกล