compose từ xa
| Bản cập nhật mới nhất | Bản phát hành ổn định | Bản phát hành dùng thử | Bản phát hành beta | Bản phát hành alpha |
|---|---|---|---|---|
| Ngày 14 tháng 1 năm 2026 | - | - | - | 1.0.0-alpha02 |
Khai báo phần phụ thuộc
Để thêm một phần phụ thuộc vào compose-remote, bạn phải thêm kho lưu trữ Google Maven vào dự án. Đọc nội dung Kho lưu trữ Maven của Google để biết thêm thông tin.
Thêm các phần phụ thuộc cho cấu phần phần mềm bạn cần trong tệp build.gradle cho ứng dụng hoặc mô-đun:
Groovy
dependencies { implementation "androidx.compose.remote:remote-core:1.0.0-alpha02" // Use to create Remote Compose documents implementation "androidx.compose.remote:remote-creation:1.0.0-alpha02" implementation "androidx.compose.remote:remote-creation-core:1.0.0-alpha02" implementation "androidx.compose.remote:remote-creation-android:1.0.0-alpha02" implementation "androidx.compose.remote:remote-creation-jvm:1.0.0-alpha02" implementation "androidx.compose.remote:remote-creation-compose:1.0.0-alpha02" // Use to render a Remote Compose document implementation "androidx.compose.remote:remote-player-core:1.0.0-alpha02" implementation "androidx.compose.remote:remote-player-view:1.0.0-alpha02" implementation "androidx.compose.remote:remote-tooling-preview:1.0.0-alpha02" }
Kotlin
dependencies { implementation("androidx.compose.remote:remote-core:1.0.0-alpha02") // Use to create Remote Compose documents implementation("androidx.compose.remote:remote-creation:1.0.0-alpha02") implementation("androidx.compose.remote:remote-creation-core:1.0.0-alpha02") implementation("androidx.compose.remote:remote-creation-android:1.0.0-alpha02") implementation("androidx.compose.remote:remote-creation-jvm:1.0.0-alpha02") implementation("androidx.compose.remote:remote-creation-compose:1.0.0-alpha02") // Use to render a Remote Compose document implementation("androidx.compose.remote:remote-player-core:1.0.0-alpha02") implementation("androidx.compose.remote:remote-player-view:1.0.0-alpha02") implementation("androidx.compose.remote:remote-tooling-preview:1.0.0-alpha02") }
Để biết thêm thông tin về các phần phụ thuộc, hãy xem bài viết Thêm phần phụ thuộc vào bản dựng.
Ý kiến phản hồi
Ý kiến phản hồi của bạn có thể giúp chúng tôi cải thiện Jetpack. Hãy cho chúng tôi biết nếu bạn phát hiện lỗi mới hoặc có ý tưởng cải thiện thư viện này. Vui lòng xem các lỗi hiện có trong thư viện này trước khi báo một lỗi mới. Bạn có thể thêm lượt bình chọn cho lỗi hiện có bằng cách nhấp vào nút dấu sao.
Xem tài liệu về Công cụ theo dõi lỗi để biết thêm thông tin.
Phiên bản 1.0
Phiên bản 1.0.0-alpha02
Ngày 14 tháng 1 năm 2026
Phát hành androidx.compose.remote:remote-*:1.0.0-alpha02. Phiên bản 1.0.0-alpha02 bao gồm các thay đổi sau.
Tính năng mới
- Thêm cỡ chữ tối thiểu/tối đa cho CoreText. I7bd3c
Thay đổi về API
- Hiển thị API công khai tối thiểu cho cơ sở hạ tầng Glance Wear. (I7b4b9, b/467532762)
- Trả về
CapturedDocumenttừcaptureSingleRemoteDocument(I5a283, b/467532762)
Sửa lỗi
- Khắc phục vị trí cuộn sau khi bố trí lại + thêm sự hỗ trợ cho hiệu ứng cạnh (6d4551)
Phiên bản 1.0.0-alpha01
Ngày 17 tháng 12 năm 2025
Phát hành androidx.compose.remote:remote-*:1.0.0-alpha01. Phiên bản 1.0.0-alpha01 bao gồm các thay đổi sau.
- Remote Compose là một khung giúp tạo giao diện người dùng cho các nền tảng từ xa.