کاشیهای فرسوده
| آخرین بهروزرسانی | انتشار پایدار | کاندیدای انتشار | انتشار بتا | انتشار آلفا |
|---|---|---|---|---|
| ۱ ژوئیه ۲۰۲۶ | ۱.۶.۱ | - | - | - |
اعلام وابستگیها
برای افزودن یک وابستگی به Wear، باید مخزن Google Maven را به پروژه خود اضافه کنید. برای اطلاعات بیشتر، مخزن Google's Maven را مطالعه کنید.
وابستگیهای مربوط به مصنوعات مورد نیاز خود را در فایل build.gradle برای برنامه یا ماژول خود اضافه کنید:
شیار
dependencies { // Use to implement support for wear tiles implementation "androidx.wear.tiles:tiles:1.6.1" // Use to utilize standard components and layouts in your tiles implementation "androidx.wear.protolayout:protolayout:1.4.1" // Use to utilize components and layouts with Material Design in your tiles implementation "androidx.wear.protolayout:protolayout-material:1.4.1" // Use to include dynamic expressions in your tiles implementation "androidx.wear.protolayout:protolayout-expression:1.4.1" // Use to preview wear tiles in your own app debugImplementation "androidx.wear.tiles:tiles-renderer:1.6.1" // Use to fetch tiles from a tile provider in your tests testImplementation "androidx.wear.tiles:tiles-testing:1.6.1" }
کاتلین
dependencies { // Use to implement support for wear tiles implementation("androidx.wear.tiles:tiles:1.6.1") // Use to utilize standard components and layouts in your tiles implementation("androidx.wear.protolayout:protolayout:1.4.1") // Use to utilize components and layouts with Material Design in your tiles implementation("androidx.wear.protolayout:protolayout-material:1.4.1") // Use to include dynamic expressions in your tiles implementation("androidx.wear.protolayout:protolayout-expression:1.4.1") // Use to preview wear tiles in your own app debugImplementation("androidx.wear.tiles:tiles-renderer:1.6.1") // Use to fetch tiles from a tile provider in your tests testImplementation("androidx.wear.tiles:tiles-testing:1.6.1") }
شیار
dependencies { // Use to implement support for wear tiles implementation "androidx.wear.tiles:tiles:1.6.1" // Use to utilize standard components and layouts in your tiles implementation "androidx.wear.protolayout:protolayout:1.4.1" // Use to utilize components and layouts with Material Design in your tiles implementation "androidx.wear.protolayout:protolayout-material:1.4.1" // Use to include dynamic expressions in your tiles implementation "androidx.wear.protolayout:protolayout-expression:1.4.1" // Use to preview wear tiles in your own app debugImplementation "androidx.wear.tiles:tiles-renderer:1.6.1" // Use to fetch tiles from a tile provider in your tests testImplementation "androidx.wear.tiles:tiles-testing:1.6.1" }
کاتلین
dependencies { // Use to implement support for wear tiles implementation("androidx.wear.tiles:tiles:1.6.1") // Use to utilize standard components and layouts in your tiles implementation("androidx.wear.protolayout:protolayout:1.4.1") // Use to utilize components and layouts with Material Design in your tiles implementation("androidx.wear.protolayout:protolayout-material:1.4.1") // Use to include dynamic expressions in your tiles implementation("androidx.wear.protolayout:protolayout-expression:1.4.1") // Use to preview wear tiles in your own app debugImplementation("androidx.wear.tiles:tiles-renderer:1.6.1") // Use to fetch tiles from a tile provider in your tests testImplementation("androidx.wear.tiles:tiles-testing:1.6.1") }
برای اطلاعات بیشتر در مورد وابستگیها، به «افزودن وابستگیهای ساخت» مراجعه کنید.
بازخورد
بازخورد شما به بهبود Jetpack کمک میکند. اگر مشکلات جدیدی کشف کردید یا ایدههایی برای بهبود این کتابخانه دارید، به ما اطلاع دهید. لطفاً قبل از ایجاد یک کتابخانه جدید، نگاهی به مشکلات موجود در این کتابخانه بیندازید. میتوانید با کلیک بر روی دکمه ستاره، رأی خود را به یک مشکل موجود اضافه کنید.
برای اطلاعات بیشتر به مستندات ردیاب مشکل مراجعه کنید.
نسخه ۱.۶
نسخه ۱.۶.۱
۱ ژوئیه ۲۰۲۶
androidx.wear.tiles:tiles-*:1.6.1 منتشر شد. نسخه ۱.۶.۱ شامل این کامیتها است.
رفع آسیبپذیریها و مشکلات امنیتی
- Fixed a potential
IllegalStateExceptionrace condition inTilesConnectionBinderthat occurred during service connection callbacks called from unexpected threads.
نسخه ۱.۶.۰
۲۵ مارس ۲۰۲۶
androidx.wear.tiles:tiles-*:1.6.0 منتشر شد. نسخه ۱.۶.۰ شامل این کامیتها است.
تغییرات مهم از زمان ۱.۵.۰:
For full details of changes since 1.5.0, see the 1.6.0-beta01 release notes .
ویژگیهای جدید
The 1.6.0-beta01 release of Wear Tiles indicates that this release of the library is feature-complete and the API is locked (except where marked as experimental). Wear Tiles 1.6 includes the following new functionalities and APIs:
- مدیریت منابع درونخطی و بهبود عملکرد: کاشیها اکنون از جمعآوری خودکار منابع از طریق
ProtoLayoutScopeپشتیبانی میکنند. - Material3TileService: Introduced a new, Kotlin-friendly service for creating tiles. It simplifies development by providing a single suspend function to return both tile layout and resources. It automatically manages the
MaterialScopeandProtoLayoutScopefor better resource handling and performance improvements on faster Tiles loading. - بهروزرسانی پیشنمایشهای کاشی: ابزار پیشنمایشهای کاشی بهروزرسانی شده است تا از مدیریت خودکار منابع
ProtoLayoutScopeجدید پشتیبانی کند و تضمین کند که پیشنمایشها منابع درونخطی را به درستی و بدون پیکربندی اضافی منعکس میکنند. - بسیاری از بهبودهای Kotlin DSL: کمککنندههای تخصصی Kotlin برای
Tileو تمام APIهای دیگر مورد نیاز برای ساخت tile (مانندTimeline) اضافه شده است تا تجربه توسعهدهندگان را برای کاربران Kotlin بهبود بخشد. - Dynamic Service Switching: Introduced
METADATA_GROUP_KEY, allowing developers to group multipleTileServiceinstances in the manifest. This enables dynamic switching between different services that represent the same tile on new OS versions. - شناسه کاشی در بهروزرسانیها: توسعهدهندگان اکنون میتوانند یک
tileIdخاص را در درخواستهای بهروزرسانی مشخص کنند و کنترل دقیقتری بر روی اینکه کدام نمونههای کاشی بهروزرسانی شوند، داشته باشند. - افزایش کامپایل SDK: برای پشتیبانی از
Material3TileServiceجدید و مدیریت پیشرفته منابع، نسخهcompileSdkمورد نیاز به 35 افزایش یافته است. - ANR Prevention: Moved the unbinding logic during Tile update requests to a background thread to prevent "Application Not Responding" (ANR) errors.
نسخه ۱.۶.۰-rc02
۱۱ مارس ۲۰۲۶
androidx.wear.tiles:tiles-*:1.6.0-rc02 بدون هیچ تغییری نسبت به نسخه قبلی منتشر شده است. نسخه 1.6.0-rc02 شامل این کامیتها است.
نسخه ۱.۶.۰-rc01
۲۵ فوریه ۲۰۲۶
androidx.wear.tiles:tiles-*:1.6.0-rc01 منتشر شد. نسخه 1.6.0-rc01 شامل این کامیتها است.
رفع اشکالات
- Clean up saved resources on Tile remove event.
نسخه ۱.۶.۰-بتا۰۱
۱۱ فوریه ۲۰۲۶
androidx.wear.tiles:tiles-*:1.6.0-beta01 is released. Version 1.6.0-beta01 contains these commits .
ویژگیهای جدید
نسخه ۱.۶.۰-بتا۰۱ از Wear Tiles نشان میدهد که این نسخه از کتابخانه از نظر ویژگیها کامل شده و API آن قفل شده است (به جز مواردی که به عنوان آزمایشی علامتگذاری شده است). Wear Tiles 1.6 شامل قابلیتها و APIهای جدید زیر است:
- Inlined Resource Handling and performance improvements: Tiles now support automatic resource collection through
ProtoLayoutScope.- This significantly improves Tiles loading time by removing the need for two binder calls as only the
onTileResourcesRequestmethod can be implemented. - When using image resources directly in the layout, there is no longer a need to manually override
onTileResourcesRequestor specify resources inTilePreviewData.
- This significantly improves Tiles loading time by removing the need for two binder calls as only the
Material3TileService: یک سرویس جدید و سازگار با کاتلین برای ایجاد کاشیها معرفی کرد. این سرویس با ارائه یک تابع
suspendبرای بازگرداندن طرحبندی کاشیها و منابع، توسعه را ساده میکند. این سرویس به طور خودکارMaterialScopeوProtoLayoutScopeرا برای مدیریت بهتر منابع و بهبود عملکرد در بارگذاری سریعتر کاشیها مدیریت میکند.- قطعه کد ساده شده:
class MyTileService : Material3TileService() { override suspend fun **MaterialScope.tileResponse**( requestParams: RequestBuilders.TileRequest ): TileBuilders.Tile = tile( timeline = timeline(timelineEntry( primaryLayout( // layout setup here iconContent = { **icon**( **imageResource**( **androidImageResource**(R.drawable.myIcon)))}) //… ))) }Tile Previews Update: Tooling for Tile Previews has been updated to support the new
ProtoLayoutScopeautomatic resource handling, ensuring previews reflect inlined resources correctly without extra configuration.بسیاری از بهبودهای Kotlin DSL: کمککنندههای تخصصی Kotlin برای
Tileو تمام APIهای دیگر مورد نیاز برای ساخت tile (مانندTimeline) اضافه شده است تا تجربه توسعهدهندگان را برای کاربران Kotlin بهبود بخشد.Dynamic Service Switching: Introduced
METADATA_GROUP_KEY, allowing developers to group multipleTileServiceinstances in the manifest. This enables dynamic switching between different services that represent the same tile on new OS versions.Tile ID in Updates: Developers can now specify a particular
tileIdin update requests, allowing for more granular control over which tile instances are refreshed.
تغییرات API
- Increased Compile SDK: To support the new
Material3TileServiceand advanced resource handling, thecompileSdkversion requirement has been increased to 35 . - Minimum SDK Update: The default
minSdkfor the library has been moved from API 21 to API 23 . - Optional Resource Overrides: Overriding
onTileResourcesRequestis now optional when using the newProtoLayoutScopeAPIs. - Schema Metadata: Added metadata keys for major/minor Tiles Renderer schema versions as XML tags for better platform compatibility tracking.
رفع اشکالات
- پیشگیری از ANR: منطق unbinding در طول درخواستهای بهروزرسانی Tile به یک thread پسزمینه منتقل شد تا از خطاهای «برنامه پاسخ نمیدهد» (ANR) جلوگیری شود.
- Version Awareness: The internal
ProtoLayoutScopeincludes theProtoLayout Renderer'sVersionInfo, allowing for better backward compatibility checks.
نسخه ۱.۶.۰-آلفا۰۵
۲۸ ژانویه ۲۰۲۶
androidx.wear.tiles:tiles-*:1.6.0-alpha05 منتشر شد. نسخه 1.6.0-alpha05 شامل این کامیتها است.
تغییرات API
- ما کلیدهای فراداده را برای نسخه طرحواره اصلی/فرعی Tiles به عنوان یک تگ XML اضافه کردهایم. ( I2cf66 )
رفع اشکالات
- We have fixed the issue with better resource handling by removing stateful
ProtoLayoutScopefromTileServiceand fixed the issue about keys for holding the resources data. ( I5dc0a , b/474614772 ) - کد مربوط به لغو اتصال سرویس هنگام درخواست بهروزرسانی، برای محیطهای آزمایشی روی نخ اصلی اجرا میشود. ( 8fd7348 )
نسخه ۱.۶.۰-آلفا۰۴
۱۴ ژانویه ۲۰۲۶
androidx.wear.tiles:tiles-*:1.6.0-alpha04 منتشر شد. نسخه 1.6.0-alpha04 شامل این کامیتها است.
تغییرات API
- A new service for creating tiles called
Material3TileServicehas been added to the Tiles library. - This provides better experience in creating
TileService, as it automatically createsMaterialScopeneeded for Material3 components and layout, which includesProtoLayoutScopefor better resources handling and performance improvements . - It is more Kotlin friendly, with 1 suspend function to provide both tile layout and resources inlined within the layout components.
- In order to support new service for Tiles with better resources handling, the compile SDK version is increased to 35. ( I1ff29 , b/470048768 )
نسخه ۱.۶.۰-آلفا۰۳
۱۷ دسامبر ۲۰۲۵
androidx.wear.tiles:tiles-*:1.6.0-alpha03 is released. Version 1.6.0-alpha03 contains these commits .
تغییرات API
- We introduced
METADATA_GROUP_KEYto allow specifying an optional group name in the service's manifest to which the correspondingTileServicebelongs. This can be used to dynamically switch between different services that correspond to the same tile. ( Ic9e71 , b/451988130 )
رفع اشکالات
- Unbinding from service when requesting an update for the Tile is now moved to the background thread to avoid potential ANRs. ( Ifc9f9 , b/460017465 )
نسخه ۱.۶.۰-آلفا۰۲
۲۲ اکتبر ۲۰۲۵
androidx.wear.tiles:tiles-*:1.6.0-alpha02 is released. Version 1.6.0-alpha02 contains these commits .
ویژگیهای جدید
- Tile Previews is now updated to support automatic resource handling via
ProtoLayoutScope. If using image resources directly in the layout viamaterialScopeWithScopeorProtoLayoutScopedirectly, there is no longer need to specifyonTileResourcesRequestand resources specifically in theTilePreviewData, they will be collected automatically. ( I58516 )
رفع اشکالات
-
ProtoLayoutScopeکه به صورت داخلی توسطTileServiceایجاد شده است، اکنون شاملVersionInfoمربوط به رندرکننده ProtoLayout است. ( I6eee2 ، b/450259727 )
نسخه ۱.۶.۰-آلفا۰۱
۲۴ سپتامبر ۲۰۲۵
androidx.wear.tiles:tiles-*:1.6.0-alpha01 is released. Version 1.6.0-alpha01 contains these commits .
ویژگیهای جدید
- APIهای ارائهدهنده را برای پذیرش
PendingIntentبه عنوان اقدام کلیک اضافه کنید ( I01978 ، b/433802488 ) - اجازه دهید شناسه کاشی در درخواست بهروزرسانی مشخص شود. ( Ia05c3 , b/421346031 )
- Add method in
TileRequestto get theProtoLayoutScopeobject for the corresponding tile instance. ( I5b8de , b/428692428 )
تغییرات API
- اجازه ندهید که
onTileResourcesRequestهنگام استفاده از APIهایProtoLayoutScopeنادیده گرفته شود. ( I1773d )
رفع اشکالات
- پیادهسازی پشتیبانی از
PendingIntentدرProtoTilesرا اضافه کنید. ( I38167 ، b/430610429 ) - منابع استفاده شده از
ProtoLayoutScopeرا ذخیره کنید تا به درستی درonTileResourcesRequestبرای رندرکنندههای قدیمیتر که آن را در پاسخ Tile قرار نمیدهند، ارسال شوند. ( I063a8 ، b/428692502 ) - انتقال minSdk پیشفرض از API 21 به API 23 ( Ibdfca ، b/380448311 ، b/435705964 ، b/435705223 )
نسخه ۱.۵
نسخه ۱.۵.۰
۴ ژوئن ۲۰۲۵
androidx.wear.tiles:tiles-*:1.5.0 منتشر شد. نسخه ۱.۵.۰ شامل این کامیتها است.
تغییرات مهم از زمان ۱.۴.۰
- Added new API
TileService.onRecentInteractionEvents()for processing interaction tile events (Enter / Leave) in batches.- The existing APIs in
TileServiceforonEnterEventandonLeaveEventare deprecated and won't work from SDK 36+ for Apps targeting API 36 or more
- The existing APIs in
- Critical bug fix for any clients targeting SDK higher than 34 and requesting a tile update on API 34 that would cause a
SecurityException. - با شروع از Wear 6 (SDK سطح ۳۶+)، تمام کاشیها با فونت سیستمی که توسط هر دستگاه تعریف میشود، نمایش داده میشوند.
نسخه ۱.۵.۰-rc01
۲۰ مه ۲۰۲۵
androidx.wear.tiles:tiles-*:1.5.0-rc01 is released with no changes from the previous release. Version 1.5.0-rc01 contains these commits .
نسخه ۱.۵.۰-بتا۰۲
۷ مه ۲۰۲۵
androidx.wear.tiles:tiles-*:1.5.0-beta02 منتشر شد. نسخه 1.5.0-beta02 شامل این کامیتها است.
نسخه ۱.۵.۰-بتا۰۱
۹ آوریل ۲۰۲۵
androidx.wear.tiles:tiles-*:1.5.0-beta01 منتشر شد. نسخه 1.5.0-beta01 شامل این کامیتها است.
ویژگیهای جدید
نسخه ۱.۵.۰-بتا۰۱ از Wear Tiles نشان میدهد که این نسخه از کتابخانه از نظر امکانات کامل شده و API آن قفل شده است (به جز مواردی که به عنوان آزمایشی علامتگذاری شدهاند). Wear Tiles 1.5 شامل قابلیتها و APIهای جدید زیر است:
- Added new API
TileService.onRecentInteractionEvents()for processing interaction tile events (Enter / Leave) in batches.- The existing APIs in
TileServiceforonEnterEventandonLeaveEventare deprecated and won't work from SDK 36+ for Apps targeting API 36 or more
- The existing APIs in
- رفع اشکال بحرانی برای هر کلاینتی که SDK بالاتر از ۳۴ را هدف قرار میدهد و درخواست بهروزرسانی کاشی در API ۳۴ را دارد که باعث ایجاد
SecurityExceptionمیشود. - با شروع از Wear 6 (SDK سطح ۳۶+)، تمام کاشیها با فونت سیستمی که توسط هر دستگاه تعریف میشود، نمایش داده میشوند.
نسخه ۱.۵.۰-آلفا۱۰
۱۲ مارس ۲۰۲۵
androidx.wear.tiles:tiles-*:1.5.0-alpha10 منتشر شد. نسخه 1.5.0-alpha10 شامل این کامیتها است.
نسخه ۱.۵.۰-آلفا۰۹
February 26, 2025
androidx.wear.tiles:tiles-*:1.5.0-alpha09 is released. Version 1.5.0-alpha09 contains these commits .
Version 1.5.0-alpha08
۱۲ فوریه ۲۰۲۵
androidx.wear.tiles:tiles-*:1.5.0-alpha08 is released. Version 1.5.0-alpha08 contains these commits .
تغییرات API
-
TileService.onRecentInteractionEvents()to returnListenableFuture<Void>to allow for long running tasks. ( Iaa6c5 )
نسخه ۱.۵.۰-آلفا۰۷
۲۹ ژانویه ۲۰۲۵
androidx.wear.tiles:tiles-*:1.5.0-alpha07 is released. Version 1.5.0-alpha07 contains these commits .
نسخه ۱.۵.۰-alpha06
۱۵ ژانویه ۲۰۲۵
androidx.wear.tiles:tiles-*:1.5.0-alpha06 is released. Version 1.5.0-alpha06 contains these commits .
تغییرات API
- Renamed
processRecentInteractionEventstoonRecentInteractionEventsmethod. ( Iec3d5 )
نسخه ۱.۵.۰-آلفا۰۵
۱۱ دسامبر ۲۰۲۴
androidx.wear.tiles:tiles-*:1.5.0-alpha05 منتشر شد. نسخه 1.5.0-alpha05 شامل این کامیتها است.
ویژگیهای جدید
- Add api for
TileServiceto process interaction events in batches. ( I04d1b )
رفع اشکالات
- This library now uses JSpecify nullness annotations , which are type-use. Kotlin developers should use the following compiler argument to enforce correct usage:
-Xjspecify-annotations=strict(this is the default starting with version 2.1.0 of the Kotlin compiler). ( I390e9 , b/326456246 ) - Fixed the bug where requesting tile updates on API 34 when the app
targetSdkis higher than 34 would cause aSecurityException( If62a1 ) - وابستگی به
WearSdkدر تستهای Robolectric برطرف شد. ( I37796 )
نسخه ۱.۵.۰-آلفا۰۴
۱۳ نوامبر ۲۰۲۴
androidx.wear.tiles:tiles-*:1.5.0-alpha04 منتشر شد. نسخه 1.5.0-alpha04 شامل این کامیتها است.
نسخه ۱.۵.۰-آلفا۰۳
۳۰ اکتبر ۲۰۲۴
androidx.wear.tiles:tiles-*:1.5.0-alpha03 is released. Version 1.5.0-alpha03 contains these commits .
نسخه ۱.۵.۰-آلفا۰۲
۱۶ اکتبر ۲۰۲۴
androidx.wear.tiles:tiles-*:1.5.0-alpha02 منتشر شد. نسخه 1.5.0-alpha02 شامل این کامیتها است.
رفع مشکلات امنیتی
- As of this change , androidx compiles against protobuf 4.28.2 in order to address CVE-2024-7254 . Upgrade your dependency on version 1.5.0-alpha01 of
androidx.wear.tiles:tiles-prototo 1.5.0-alpha02 to address the vulnerability risk.
نسخه ۱.۵.۰-آلفا۰۱
۲ اکتبر ۲۰۲۴
androidx.wear.tiles:tiles-*:1.5.0-alpha01 is released. Version 1.5.0-alpha01 contains these commits .
نسخه ۱.۴
نسخه ۱.۴.۱
۱۶ اکتبر ۲۰۲۴
androidx.wear.tiles:tiles-*:1.4.1 is released. Version 1.4.1 contains these commits .
Security Fixes
- با اعمال این تغییر ، androidx برای رفع آسیبپذیری CVE-2024-7254 ، بر اساس protobuf 4.28.2 کامپایل میشود. برای رفع خطر آسیبپذیری، وابستگی خود به نسخه ۱.۴.۰ از
androidx.wear.tiles:tiles-protoرا به ۱.۴.۱ ارتقا دهید.
نسخه ۱.۴.۰
۷ آگوست ۲۰۲۴
androidx.wear.tiles:tiles-*:1.4.0 is released. Version 1.4.0 contains these commits .
تغییرات مهم از زمان ۱.۳.۰
- پشتیبانی از ابزار برای تعیین دادههای پلتفرم سفارشی برای پیشنمایشهای Tiles در اندروید استودیو.
نسخه ۱.۴.۰-rc01
۲۴ ژوئیه ۲۰۲۴
androidx.wear.tiles:tiles-*:1.4.0-rc01 is released with no changes from the previous release. Version 1.4.0-rc01 contains these commits .
نسخه ۱.۴.۰-بتا۰۱
۱۰ ژوئیه ۲۰۲۴
androidx.wear.tiles:tiles-*:1.4.0-beta01 منتشر شد. نسخه 1.4.0-beta01 شامل این کامیتها است.
ویژگیهای جدید
نسخه ۱.۴.۰-بتا۰۱ از Wear Tiles نشان میدهد که این نسخه از کتابخانه از نظر امکانات کامل شده و API آن قفل شده است (به جز مواردی که به عنوان آزمایشی علامتگذاری شدهاند). Wear Tiles 1.4 شامل قابلیتها و APIهای جدید زیر است:
- پشتیبانی از ابزار برای تعیین دادههای پلتفرم سفارشی برای پیشنمایشهای Tiles در اندروید استودیو.
نسخه ۱.۴.۰-آلفا۰۵
۲۶ ژوئن ۲۰۲۴
androidx.wear.tiles:tiles-*:1.4.0-alpha05 is released. Version 1.4.0-alpha05 contains these commits .
نسخه ۱.۴.۰-آلفا۰۴
۲۹ مه ۲۰۲۴
androidx.wear.tiles:tiles-*:1.4.0-alpha04 is released. Version 1.4.0-alpha04 contains these commits .
نسخه ۱.۴.۰-آلفا۰۳
۱۴ مه ۲۰۲۴
androidx.wear.tiles:tiles-*:1.4.0-alpha03 منتشر شد. نسخه 1.4.0-alpha03 شامل این کامیتها است.
رفع اشکالات
-
TileService#getActiveTilesAsyncnow usesWearSdkAPI (when available) to provide a more accurate result. ( I57bd8 )
نسخه ۱.۴.۰-آلفا۰۲
۱ مه ۲۰۲۴
androidx.wear.tiles:tiles-*:1.4.0-alpha02 is released. Version 1.4.0-alpha02 contains these commits .
تغییرات API
- Move
tileIdto Builder constructor param as a mandatory field and document default timestamp value in the getter. ( I98c2b ) - پیامهای اولیه
TileInteractionEvent،TileEnterوTileLeaveو Java Wrapperهای مورد نیاز برای دستهبندی رویدادهای ورود/خروج tile را اضافه کنید. ( I112b0 ) - Refactor
TileRendererto use a Builder instead of aTileRenderer.Configobject. ( Ib66f9 ) - Add a
platformDataProvidersattribute toTileRenderer.Config. ( I6030d ) - Add a new constructor to
TileRendererthat supports a newTileRenderer.Configclass. Other constructors are deprecated. ( Iae7ff ) - یک فیلد
platformDataValuesبهTilePreviewDataاضافه کنید تا امکان لغو مقادیر دادههای پلتفرم فراهم شود. ( If437a )
رفع اشکالات
- ثابت کنید که مقدار پیشفرض برای
TileRenderer.Config.Builder#setTilesThemeصفر است. ( Iced18 )
نسخه ۱.۴.۰-آلفا۰۱
۶ مارس ۲۰۲۴
androidx.wear.tiles:tiles-*:1.4.0-alpha01 منتشر شد. نسخه 1.4.0-alpha01 شامل این کامیتها است.
نسخه ۱.۳
نسخه ۱.۳.۰
۷ فوریه ۲۰۲۴
androidx.wear.tiles:tiles-*:1.3.0 is released. Version 1.3.0 contains these commits.
تغییرات مهم از زمان ۱.۲.۰
- Updated tooling for tile preview support.
- پشتیبانی از جستجوی کاشیهای فعال متعلق به برنامه.
تغییرات اضافی
- For a more complete set of the changes introduced in version 1.3.0, see the beta01 release notes .
نسخه ۱.۳.۰-rc01
۲۴ ژانویه ۲۰۲۴
androidx.wear.tiles:tiles-*:1.3.0-rc01 is released. Version 1.3.0-rc01 contains these commits.
تغییرات API
- Renamed
TileService#getActiveTilesSnapshotAsynctogetActiveTilesAsync. ( If6b87 )
Version 1.3.0-beta01
۱۰ ژانویه ۲۰۲۴
androidx.wear.tiles:tiles-*:1.3.0-beta01 is released. Version 1.3.0-beta01 contains these commits.
نسخه ۱.۳.۰-بتا۰۱ از Wear Tiles نشان میدهد که این نسخه از کتابخانه از نظر امکانات کامل شده و API آن قفل شده است (به جز مواردی که به عنوان آزمایشی علامتگذاری شدهاند). Wear Tiles 1.3 شامل قابلیتها و APIهای جدید زیر است:
- ماژول ابزار کاشیهای سایشی برای پشتیبانی از پیشنمایش کاشی بهروزرسانی شده و برای انتشار آماده است.
- Support for querying which tiles belonging to the app are active with
TileService.getActiveTilesSnapshotAsync.
نسخه ۱.۳.۰-آلفا۰۴
۱۳ دسامبر ۲۰۲۳
androidx.wear.tiles:tiles-*:1.3.0-alpha04 منتشر شد. نسخه 1.3.0-alpha04 شامل این کامیتها است.
نسخه ۱.۳.۰-آلفا۰۳
۲۹ نوامبر ۲۰۲۳
androidx.wear.tiles:tiles-*:1.3.0-alpha03 منتشر شد. نسخه 1.3.0-alpha03 شامل این کامیتها است.
ویژگیهای جدید
- Added a new API
TileService#getActiveTilesSnapshotAsyncfor querying which tiles belonging to the app are active. ( I6850e )
تغییرات API
- Rename
@TilePreviewto@Preview( Ifc08a )
Version 1.3.0-alpha02
۱۵ نوامبر ۲۰۲۳
androidx.wear.tiles:tiles-*:1.3.0-alpha02 منتشر شد. نسخه 1.3.0-alpha02 شامل این کامیتها است.
ویژگیهای جدید
- We have added an experimental API to automatically scale the text size based on the space it has inside of the parent. ( Ibbe63 )
Version 1.3.0-alpha01
۱۸ اکتبر ۲۰۲۳
androidx.wear.tiles:tiles-*:1.3.0-alpha01 is released. Version 1.3.0-alpha01 contains these commits.
ویژگیهای جدید
- به جای پارامترهای فراخوانی
TilePreviewDataزمینه را به عنوان پارامتر متد پیشنمایش ارائه دهید. ( I5e97d ) - ماژول ابزار کاشیهای سایشی برای پشتیبانی از پیشنمایش کاشی بهروزرسانی شده و برای انتشار آماده است. ( I63d0f )
نسخه ۱.۲
نسخه ۱.۲.۰
۹ آگوست ۲۰۲۳
androidx.wear.tiles:tiles-*:1.2.0 منتشر شد. نسخه ۱.۲.۰ شامل این کامیتها است.
تغییرات مهم از زمان ۱.۱.۰
- Stable release of Wear Tiles 1.2.0 ( read more )
- Tiles 1.2 adds support for binding layout elements to platform data (for faster updates) and animation. For migration instructions see the release notes for ( 1.2.0-rc01 )
Version 1.2.0-rc01
۲۶ ژوئیه ۲۰۲۳
androidx.wear.tiles:tiles-*:1.2.0-rc01 is released. Version 1.2.0-rc01 contains these commits.
With the v1.2 release, Tiles library has been refactored and the majority of the features and APIs are moved into new ProtoLayout library (package
androidx.wear.protolayout) with a small subset remaining in Tiles (androidx.wear.tiles):- نام همه کلاسها ثابت مانده است، فقط مواردی به نسخه ۱.۱ اضافه شده است.
- The majority of the APIs have stayed the same and the only change is package name.
- Some of the methods in
TileService/TileBuilderhave been deprecated and now have renamed versions that accept newProtoLayouttypes instead of deprecated Tiles one.
To make this migration easier, we have put together a small instructions and script that does this renaming, see here .
تغییرات API
- We have limited the maximum depth that a layout can have to 30 nested elements in tile. If that depth is exceeded, the tile renderer will show a previously inflated layout. ( I8a74b )
Version 1.2.0-beta01
۲۱ ژوئن ۲۰۲۳
androidx.wear.tiles:tiles-*:1.2.0-beta01 is released with no changes. Version 1.2.0-beta01 contains these commits.
نسخه ۱.۲.۰-آلفا۰۷
۷ ژوئن ۲۰۲۳
androidx.wear.tiles:tiles-*:1.2.0-alpha07 منتشر شد. نسخه 1.2.0-alpha07 شامل این کامیتها است.
ویژگیهای جدید
-
TileRenderer.setStateallows setting the state for the rendering session. This state will apply to the current layout and any future one (until a new state is set) ( Iaaf35 ) - protolayout types are now fully supported across all tile-renderer APIS. ( I428b0 )
رفع اشکالات
- Setting a custom theme is now possible in the
ProtoLayoutViewInstance. ( Iae8c0 )
نسخه ۱.۲.۰-alpha06
۲۴ مه ۲۰۲۳
androidx.wear.tiles:tiles-*:1.2.0-alpha06 منتشر شد. نسخه 1.2.0-alpha06 شامل این کامیتها است.
تغییرات API
- نام
StateEntryValueرا بهDynamicDataValueتغییر دهید و APIهای state را برای استفاده ازDynamicDataKeyبهروزرسانی کنید ( If1c01 ). - We are limiting the number of entries that are allowed in the
StateStorein order to ensure that memory usage and state update time are well contained and controlled for each instance of theStateStore. As a result, the developer needs to ensure that they do not have more thanMAX_STATE_ENTRY_COUNTentries in the map otherwise they will get anIllegalStateExceptionwhen creating or updating theStateStore. ( Ibadb3 )
نسخه ۱.۲.۰-آلفا۰۵
۱۰ مه ۲۰۲۳
androidx.wear.tiles:tiles-*:1.2.0-alpha05 is released. Version 1.2.0-alpha05 contains these commits.
ویژگیهای جدید
- We've added tile id to the tile events and requests. This id can be used to associate some data with a tile instance in the carousel. ( Ic4f83 )
تغییرات API
-
TileRenderer.inflateAsyncnow returns aListenableFuture. ( I2f2b9 ) - سازندگان کاشی که جایگزینی در کتابخانه
protolayoutدارند، اکنون به عنوان منسوخ علامتگذاری شدهاند. ( Ie2029 )
رفع اشکالات
- javadoc مربوط به
TileService.onTileResourcesRequestاکنون مشخص میکند که چه زمانی ممکن است سیستم این متد را فراخوانی کند. ( Iee037 )
نسخه ۱.۲.۰-آلفا۰۴
۱۹ آوریل ۲۰۲۳
androidx.wear.tiles:tiles-*:1.2.0-alpha04 is released. Version 1.2.0-alpha04 contains these commits.
رفع اشکالات
- The gradle dependencies are now correctly set to
apiinstead ofimplementationwhen required. ( I40503 )
نسخه ۱.۲.۰-آلفا۰۳
۵ آوریل ۲۰۲۳
androidx.wear.tiles:tiles-*:1.2.0-alpha03 is released. Version 1.2.0-alpha03 contains these commits.
تغییرات API
- We've added support for
androidx.wear.protolayouttypes toTileRenderer( I4ac7f ) -
ObservableStateStoreبهStateStoreتغییر نام داده شده است. ( Ieb0e2 ) - Add overloads for protolayout types to
TileRenderer( I4ac7f ) - فعال کردن انیمیشنها در
TileRenderer( I07dcf )
نسخه ۱.۲.۰-آلفا۰۲
۲۲ مارس ۲۰۲۳
androidx.wear.tiles:tiles-*:1.2.0-alpha02 is released. Version 1.2.0-alpha02 contains these commits.
تغییرات API
- Tiles Material library has been deprecated. Please use the new
ProtoLayout Materiallibrary with the same functionalities. ( If242b )
رفع اشکالات
-
TileRendererبرای استفاده از ویژگیهای جدید کتابخانه protolayout بهروزرسانی شده است. ( I832f9 )
نسخه ۱.۲.۰-آلفا۰۱
۸ مارس ۲۰۲۳
androidx.wear.tiles:tiles-*:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits.
ویژگیهای جدید
- ما
onTileResourceRequestبهTileServiceاضافه کردهایم تا منابع را از کتابخانهprotolayoutفراهم کند. ( 983d9c5 ) - ما
ResourcesRequestوTileRequestبرای پشتیبانی از انواعStateوDeviceParametersاز کتابخانهprotolayoutبهروزرسانی کردهایم. ( 88fa01d ) - We've updated
TileBuilders.Tileto supportStateandTimelinetypes from theprotolayoutlibrary. ( 168619c )
رفع اشکالات
- Improvements to Javadocs. ( I3ed73 )
- رنگهای پیشفرض برای
onPrimaryو surface تغییر کردهاند. ( I0b039 )
نسخه ۱.۱
نسخه ۱.۱.۰
۲۴ آگوست ۲۰۲۲
androidx.wear.tiles:tiles-*:1.1.0 is released. Version 1.1.0 contains these commits.
تغییرات مهم از زمان ۱.۰.۰
- This is the first stable release that contains the Tiles Material library (read more on our blog ).
- This library contains components and layouts that are in-line with Material guidelines and easy to use. The included components are
Button,Chip,CompactChip,TitleChip,CircularProgressIndicator,Text.All these components have their own colors object that can be built with the main Colors class to easily apply the same theme over all components. In addition to colors, there is a Typography class to easily get FontStyle objects using the typography name. - Besides components, there are recommended tile layouts -
PrimaryLayout,EdgeContentLayout,MultiButtonLayout,MultiSlotLayout. All layouts have recommended padding and styles applied that are within Material guidelines. - برای فهرستی از اجزا و طرحبندیهای موجود در کتابخانهی Tiles Material، به یادداشتهای انتشار Tiles مراجعه کنید.
نسخه ۱.۱.۰-rc01
۱۰ آگوست ۲۰۲۲
androidx.wear.tiles:tiles-*:1.1.0-rc01 is released. Version 1.1.0-rc01 contains these commits.
- هیچ تغییر جدیدی بین نسخه بتا و RC وجود نداشت.
نسخه ۱.۱.۰-بتا۰۱
۲۷ ژوئیه ۲۰۲۲
androidx.wear.tiles:tiles-*:1.1.0-beta01 منتشر شد. نسخه 1.1.0-beta01 شامل این کامیتها است.
نسخه ۱.۰.۰-بتا۰۱ کتابخانه Tiles Material شامل کامپوننتها و طرحبندیهایی است که با دستورالعملهای Material مطابقت دارند و ساخت آنها آسان است.
اجزای شامل عبارتند از:
-
Button- clickable, circular-shaped object, with either icon, text or image with 3 predefined sizes. -
Chip- clickable, stadium-shaped object that can contain an icon, primary and secondary labels, and has fixed height and customizable width. -
CompactChip&TitleChip- two variations of the standard Chip that have smaller and larger heights, respectively, and can contain one line of text. -
CircularProgressIndicator- colored arc around the edge of the screen with the given start and end angles, which can describe a full or partial circle with the full progress arc behind it. -
Text- متن سبکدار که از سبکهای تایپوگرافی توصیهشدهی Wear Material استفاده میکند
همه این کامپوننتها شیء رنگ مخصوص به خود را دارند که میتوان آن را با کلاس اصلی Colors ساخت تا به راحتی تم یکسانی را روی همه کامپوننتها اعمال کرد. علاوه بر رنگها، یک کلاس Typography نیز وجود دارد که به راحتی میتوان با استفاده از نام تایپوگرافی، اشیاء FontStyle دریافت کرد.
علاوه بر اجزا، طرحبندیهای پیشنهادی برای کاشیها نیز وجود دارد:
-
PrimaryLayout- A layout which can be customized by adding primary or secondary labels, content in the middle, and a primary chip at the bottom. The main content within this layout could be added as aMultiSlotLayoutorMultiButtonLayoutobject. -
EdgeContentLayout- یک طرحبندی برای میزبانیCircularProgressIndicatorدر اطراف لبه با محتوای اصلی در داخل و برچسب اصلی یا فرعی در اطراف آن. -
MultiButtonLayout- چیدمانی که میتواند شامل ۱ تا ۷ دکمه باشد که بسته به تعداد آنها، مطابق با دستورالعملهای متریال مرتب شدهاند. -
MultiSlotLayout- A row-like style layout with horizontally aligned and spaced slots (for icons or other small content).
تمام طرحبندیها دارای فاصلهگذاری توصیهشده و سبکهای اعمالشده هستند که در دستورالعملهای متریال قرار دارند.
تغییرات API
- Major refactor to the Chip components that includes separating setters in Builder so that each part of the content is passed in separately with renaming to match guidelines (primary label, secondary label, image resource id). Additionally, content description will be auto generated if not set. ( I57622 )
-
ProgressIndicatorLayouthas been renamed toEdgeContentLayout. ( Ic1aa6 ) - Button size contents have been renamed to names
without _BUTTONsuffix in it with additional Javadocs clarification acrossButton. ( I1dfe2 )
رفع اشکالات
- حاشیهها، فاصلهگذاری و چیدمان کلی در طرحبندیهای متریال بهروزرسانی شده است تا با انواع طرحبندیها و اندازهها و شکلهای صفحه نمایش توصیهشده سازگار باشد.
- Improvements to Material Layouts. In
MultiSlotLayoutslots are now flexible in width where they'll wrap content instead of being fixed size.( I52919 ),( If18b4 ) - Area that can be tapped on
CompactChiphas been increased to follow accessibility guidelines. ( Ie8264 )
نسخه ۱.۱.۰-آلفا۰۹
۲۹ ژوئن ۲۰۲۲
androidx.wear.tiles:tiles-*:1.1.0-alpha09 is released. Version 1.1.0-alpha09 contains these commits.
ویژگیهای جدید
- ما پشتیبانی از افزودن برچسبهای اختیاری را در
ProgressIndicatorLayoutاضافه کردهایم. ( I30788 )
تغییرات API
- Helper methods for
ElementMetadatanow acceptElementMetadatainstead of Modifiers. ( I5a70f )
رفع اشکالات
- The limitation of 9 characters on
CompactChipwas removed. If text is too big to fit into the screen inPrimaryLayout, it will be ellipsized. ( Id56ec ) - گیرندههای
Chipحالا پسوند محتوا دارند. ( Iba437 ) - Javadoc clarification across Tiles Material classes. ( I56e41 ), ( I80f31 ), ( Iba437 )
Version 1.1.0-alpha08
۱ ژوئن ۲۰۲۲
androidx.wear.tiles:tiles-*:1.1.0-alpha08 منتشر شد. نسخه 1.1.0-alpha08 شامل این کامیتها است.
ویژگیهای جدید
- تگ متادیتا به Modifiers اضافه شده است تا برای ردیابی متادیتای کامپوننت با متدهای کمکی اضافه شده به کلاس
Helperاستفاده شود. ( I70db2 ) ، ( I30c3d ) - Static method
fromLayoutElementhas been added to all components and layouts inside of Tiles Material. It should be used for testing, to cast a LayoutElement obtained from accessing the contents of a container to its original type. ( Ia572a ),( Idbd8a ),( I3ae13 ),( I292fe ),( I8b20f ),( I3cacb ),( I84b24 )
نسخه ۱.۱.۰-آلفا۰۷
۱۸ مه ۲۰۲۲
androidx.wear.tiles:tiles-*:1.1.0-alpha07 منتشر شد. نسخه 1.1.0-alpha07 شامل این کامیتها است.
تغییرات API
- Getters related to different setters for content have now been added to the
ProgressIndicatorLayoutandPrimaryLayout. Now all setters in these classes have matching getters.( Iddbe5 ) ( Iabe4e ) - تابع Getter برای توصیف محتوا در کامپوننتهای متریال میتواند مقدار null را برگرداند، زیرا مقدار Setter آن اجباری نیست.
- Attempting to create a Button with no content passed in will result in
IllegalArgumentException. ( I7fc0c ) - فیلدهای مربوط به رنگ آیکون در
ChipColorsازiconTintColorبهiconColorتغییر نام دادهاند. ( Ic053b )
رفع اشکالات
- Added
androidTestsfor Layouts in Tiles Material. ( I96404 )
Version 1.1.0-alpha06
۱۱ مه ۲۰۲۲
androidx.wear.tiles:tiles-*:1.1.0-alpha06 منتشر شد. نسخه 1.1.0-alpha06 شامل این کامیتها است.
ویژگیهای جدید
- The new layout has been added to the Material Layouts sub library -
MultiButtonLayout. It represents a layout that can contain between 1 and 7 buttons arranged in line with the Material guidelines. In most cases, this layout should be passed in as a content to the PrimaryLayout . ( Ib727f )
تغییرات API
-
MultiSlotLayouthas been refactored to have only slots in it. This layout should be passed as a content to the mainPrimaryLayout. ( I1870f ) - رنگهای پیشفرض تعریفشده برای
CircularProgressIndicatorبهروزرسانی شدند تا به جای مقادیر اولیه و ثانویه، یک مقدار داشته باشند. ( I64a51 ) - دریافتکننده برای فاصلهگذار افقی در
MultiSlotLayoutاضافه شد. ( I11e1e )
رفع اشکالات
- تستهای اندروید برای کامپوننتها به Tiles Material اضافه شدهاند. ( I20041 )
نسخه ۱.۱.۰-آلفا۰۵
۶ آوریل ۲۰۲۲
androidx.wear.tiles:tiles-*:1.1.0-alpha05 is released. Version 1.1.0-alpha05 contains these commits.
ویژگیهای جدید
- Added helper methods to convert
LayoutElementto Layout, Timeline, TimelineEntry into these classes for easier Tiles building. ( I2f6d1 ) -
Colorsobject was added to the Material library to be passed in across components' colors as a theme. ( I0792c )
تغییرات API
- Material Text component requires text passed in into constructor. This component can now be customized by setting weight. ( I25dbd )
- Removed constants from
ChipDefaultsthat are not used in the public setters. ( I7baed ) - Removed getters from
CompactChip&TitleChipthat don't have matching setters. ( I99e85 ) -
DEFAULT_PADDINGازProgressIndicatorDefaultsحذف شد. ( Idabcd ) - کامپوننتهای متریال اکنون به جای رشته،
CharSequenceبرای توصیف محتوا میپذیرند. ( I5b21a )
رفع اشکالات
- Refactored setters implementation of optional parameters in Button. ( Ib7135 )
- نوع سبک فونت به فونتها در تایپوگرافی اضافه شده است. ( I8dbc6 )
نسخه ۱.۱.۰-آلفا۰۴
۲۳ مارس ۲۰۲۲
androidx.wear.tiles:tiles-*:1.1.0-alpha04 is released. Version 1.1.0-alpha04 contains these commits.
ویژگیهای جدید
- Optional primary or secondary label can be added to
PrimaryLayout. ( Ib9916 ) - کامپوننت متن را میتوان با تنظیم overflow، italic، underline و غیره سفارشی کرد ( I703f7 )
تغییرات API
- ثابتهای رنگ پیشفرض از رابط برنامهنویسی کاربردی (API) Tiles Material حذف شدهاند. ( I0ab55 )
- All clickable components in Tiles Material require
Clickableobject in their Builder's constructor instead of an Action. ( I2f101 )
رفع اشکالات
- متن اکنون در کامپوننت Chip and Text در سرریز، یک نقطه حذف رسم میکند. ( I8a2f8 )
- Improved components look when the user font scale is set to large. ( Ib63b1 )
- Clarify Javadocs of
setPrimaryChipContentin PrimaryLayout. ( Ie6296 )
نسخه ۱.۱.۰-آلفا۰۳
۲۳ فوریه ۲۰۲۲
androidx.wear.tiles:tiles-*:1.1.0-alpha03 منتشر شد. نسخه 1.1.0-alpha03 شامل این کامیتها است.
تغییرات API
- مؤلفه
Textبا سبکهای تایپوگرافی توصیهشده به متریال TIles اضافه شده است. ( Iec0ae )
نسخه ۱.۱.۰-آلفا۰۲
۹ فوریه ۲۰۲۲
androidx.wear.tiles:tiles-*:1.1.0-alpha02 is released. Version 1.1.0-alpha02 contains these commits.
ویژگیهای جدید
- A new sub-library
layoutsin Tiles Material has been added. It contains opinionated Tiles layouts with recommended padding and margin applied to make Tile development faster and easier implementation. Initial layouts are:-
PrimaryLayout( I7ba91 ) that represents the layout with a primary chip at the bottom and content in the center. -
MultiSlotLayout( I32104 ) that represents a layout with labels on rows 1 and 3, horizontally aligned and spaced slots on row 2 and all followed by a 4th row that contains a primary chip. -
ProgressIndicatorLayout( I9fec6 ) that represents a layout with the circular progress indicator around the edge of the screen and the given content inside.
-
-
CircularProgressIndicator( Ic4b88 ) has been added to the Tiles Material components.
تغییرات API
- Renamed remaining constants used by
TitleChipto include title in the name. ( I14f4c ) -
setHorizontalAlignmentmethod has been added to theChip. ( Ie6e0b )
نسخه ۱.۱.۰-آلفا۰۱
۲۶ ژانویه ۲۰۲۲
androidx.wear.tiles:tiles-*:1.1.0-alpha01 is released. Version 1.1.0-alpha01 contains these commits.
ویژگیهای جدید
- The new library Tiles Material has been added. It contains components to build Tiles layouts faster and easier with Material design. Initial components are:
-
Button -
Chip -
CompactChip -
TitleChip
-
رفع اشکالات
- Fix bug in
TileUiClientwhich led to cached resources being discarded. ( I60e0b )
نسخه ۱.۰
نسخه ۱.۰.۱
۲۶ ژانویه ۲۰۲۲
androidx.wear.tiles:tiles-*:1.0.1 is released. Version 1.0.1 contains these commits.
رفع اشکالات
- Fix bug in
TileUiClientwhich led to cached resources being discarded. ( I60e0b )
نسخه ۱.۰.۰
۳ نوامبر ۲۰۲۱
androidx.wear.tiles:tiles-*:1.0.0 is released. Version 1.0.0 contains these commits.
Major features of 1.0.0
- The Wear Tiles library provides functionality to build custom Tiles for Wear OS devices, along with the classes that allow the system to fetch your Tile and display it right next to your watch face.
- tiles-renderer allows you to show a Tile as part of an Android Activity, facilitating quick testing of your tile layouts.
نسخه ۱.۰.۰-rc01
۲۷ اکتبر ۲۰۲۱
androidx.wear.tiles:tiles-*:1.0.0-rc01 is released. Version 1.0.0-rc01 contains these commits.
نسخه ۱.۰.۰-بتا۰۱
۱۳ اکتبر ۲۰۲۱
androidx.wear.tiles:tiles-*:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits.
رفع اشکالات
- Fixed
NullPointerExceptioninTileUiClientwhen an empty resource version was provided. ( I0586e )
Version 1.0.0-alpha12
۲۹ سپتامبر ۲۰۲۱
androidx.wear.tiles:tiles-*:1.0.0-alpha12 is released. Version 1.0.0-alpha12 contains these commits.
رفع اشکالات
UpdateScheduler no longer uses a weak reference, fixing issues where TileUiClient would not update( I1120d , b/199061124 )
Declare that SysUiTileUpdateRequester queries PacakgeManager, fixing a bug where tile updates would not work on R+ devices. ( I1120d )
نسخه ۱.۰.۰-آلفا۱۱
۱ سپتامبر ۲۰۲۱
androidx.wear.tiles:tiles-*:1.0.0-alpha11 is released. Version 1.0.0-alpha11 contains these commits.
ویژگیهای جدید
- Added and released a testing library, androidx.wear.tiles:tiles-testing library to enable developers to test their tiles more easily. ( Iedb6b )
تغییرات API
- Renamed TileProviderService to TileService. ( I1ad2c )
- Tiles builders updated; static
.builder()methods have been deprecated in favour of callingnew Foo.Builder(), and setter overloads which accepted aBuilderinstance have been removed. ( Ia9606 ) - TileRenderer should now use a UI context, instead of the application context. ( I84b61 )
رفع اشکالات
- Fix bug causing multiple underlines to be applied in certain situations. ( Ib6712 )
نسخه ۱.۰.۰-آلفا۱۰
۱۸ آگوست ۲۰۲۱
androidx.wear.tiles:tiles:1.0.0-alpha10 , androidx.wear.tiles:tiles-proto:1.0.0-alpha10 , and androidx.wear.tiles:tiles-renderer:1.0.0-alpha10 are released. Version 1.0.0-alpha10 contains these commits.
تغییرات API
- Removed layout checkers from public API. These will always be enabled, although will only raise a warning if a check fails. ( Ie9f29 )
- TileRenderer now accepts a UI context, instead of the Application Context.
رفع اشکالات
- Fixed bug which prevented clickable elements in a Spannable from being clicked.
نسخه ۱.۰.۰-آلفا۰۹
۲۱ ژوئیه ۲۰۲۱
androidx.wear.tiles:tiles:1.0.0-alpha09 , androidx.wear.tiles:tiles-proto:1.0.0-alpha09 , and androidx.wear.tiles:tiles-renderer:1.0.0-alpha09 are released. Version 1.0.0-alpha09 contains these commits.
ویژگیهای جدید
- Added layout checkers to Wear Tiles' renderer. ( I3a869 )
- These are used to validate best practises in your tile. To begin with, these will raise a warning if your tile does not contain any elements with a
Semanticsmodifier.
- These are used to validate best practises in your tile. To begin with, these will raise a warning if your tile does not contain any elements with a
- Added documentation for
DefaultTileProviderClientandTestingTileProviderClient constructors. ( I9f4b9 )
تغییرات API
- Renaming in TileProviderClient ( I0ec36 ):
-
getApiVersion->requestApiVersion -
tile/resourcesRequest->requestTile/Resources -
onTileFooEvent->sendOnTileFooEvent
-
- Added layout checkers to Wear Tiles' renderer. ( I3a869 )
رفع اشکالات
- Ensure that a LaunchAction target does not have special permissions. ( I39136 )
نسخه ۱.۰.۰-آلفا۰۸
۳۰ ژوئن ۲۰۲۱
androidx.wear.tiles:tiles:1.0.0-alpha08 , androidx.wear.tiles:tiles-proto:1.0.0-alpha08 , and androidx.wear.tiles:tiles-renderer:1.0.0-alpha08 are released. Version 1.0.0-alpha08 contains these commits.
ویژگیهای جدید
- Spannables now support line_height instead of line_spacing.
تغییرات API
- Add support for line_height in Spannables, remove line_spacing. ( Ibeb54 )
- Code using line_spacing should be ported to use line_height instead.
رفع اشکالات
- Fix bug when using proportional dimensions. ( I37ace )
- Fix bug preventing Text elements having content descriptions. ( Id2c7d )
نسخه ۱.۰.۰-آلفا۰۷
۱۶ ژوئن ۲۰۲۱
androidx.wear.tiles:tiles:1.0.0-alpha07 , androidx.wear.tiles:tiles-proto:1.0.0-alpha07 , and androidx.wear.tiles:tiles-renderer:1.0.0-alpha07 are released. Version 1.0.0-alpha07 contains these commits.
تغییرات API
- Add
TileProviderClientinterface, and exposeDefaultTileProviderClient, allowing implementations to bind to aTileProviderServiceinterface. ( I69165 )
نسخه ۱.۰.۰-alpha06
۲ ژوئن ۲۰۲۱
androidx.wear.tiles:tiles:1.0.0-alpha06 , androidx.wear.tiles:tiles-proto:1.0.0-alpha06 , and androidx.wear.tiles:tiles-renderer:1.0.0-alpha06 are released. Version 1.0.0-alpha06 contains these commits.
تغییرات API
- All Builder classes now contain getters for all properties. Note that these are intended for testing purposes only ( I9d155 )
- Package change: Classes in
androidx.wear.tiles.buildershave been moved toandroidx.wear.tiles. - Add experimental tint support to Tiles. ( I38929 )
- Renamed
LayoutElementBuilders.HALIGN_*toLayoutElementBuilders.HORIZONTAL_ALIGN_*( I67e58 ) - Renamed
LayoutElementBuilders.VALIGN_*toLayoutElementBuilders.VERTICAL_ALIGN_*( I67e58 ) - Renamed
LayoutElementBuilders.SPAN_VALIGN_*toLayoutElementBuilders.SPAN_VERTICAL_ALIGN_*( I67e58 ) - Added builder classes for Requests and Events. ( Ib5cf4 )
- Migrated
TileProviderServiceto use request and event classes fromRequestBuildersandEventBuilders, rather thanRequestReaders/EventReaders(egonTileRequestnow provides you with aRequestBuilders.TileRequest, rather thanRequestReaders.TileRequest). ( I46ea1 )
رفع اشکالات
- Fix bug in async image loading for Tiles renderer. ( Iad9b0 )
- Fixed layout bug when placing an image with width or height set to
expand()in aBoxwith width or height set towrap(). ( I33770 )
نسخه ۱.۰.۰-آلفا۰۵
۱۸ مه ۲۰۲۱
androidx.wear.tiles:tiles:1.0.0-alpha05 , androidx.wear.tiles:tiles-proto:1.0.0-alpha05 , and androidx.wear.tiles:tiles-renderer:1.0.0-alpha05 are released. Version 1.0.0-alpha05 contains these commits.
تغییرات API
- Removed getTileId from incoming tile events (
TileAddEvent,TileRemoveEvent,TileEnterEvent,TileLeaveEvent,TileRequest). ( Ifbba2 ) - Renamed
ImageResource#setAndroidResourceByResidtosetAndroidResourceByResId( I4ba6e ) - Renamed
TimelineManager#deInitto close, and implementedAutoCloseable. ( I5dff2 )
نسخه ۱.۰.۰-آلفا۰۴
۵ مه ۲۰۲۱
androidx.wear.tiles:tiles:1.0.0-alpha04 , androidx.wear.tiles:tiles-proto:1.0.0-alpha04 , and androidx.wear.tiles:tiles-renderer:1.0.0-alpha04 are released. Version 1.0.0-alpha04 contains these commits.
تغییرات API
- Hidden concrete TileProviderService classes.
- Made TileUpdateRequester take a
Class<? extends TileProviderService>. ( Ib7cca )
- Made TileUpdateRequester take a
- Added ability to add extras to AndroidActivity. ( I748f4 )
Tiles Version 1.0.0-alpha03
۲۱ آوریل ۲۰۲۱
androidx.wear.tiles:tiles:1.0.0-alpha03 , androidx.wear.tiles:tiles-proto:1.0.0-alpha03 , and androidx.wear.tiles:tiles-renderer:1.0.0-alpha03 are released. Version 1.0.0-alpha03 contains these commits.
تغییرات API
- Rename
TileManager->TileClient- Rename
TileManager#create->TileClient#connect( I91839 )
- Rename
رفع اشکالات
- Added Proguard rules to ensure
tilesandtiles-rendererwork properly with Proguard enabled ( Ie3d85 )
نسخه ۱.۰.۰-آلفا۰۲
۷ آوریل ۲۰۲۱
androidx.wear.tiles:tiles:1.0.0-alpha02 , androidx.wear.tiles:tiles-proto:1.0.0-alpha02 , and androidx.wear.tiles:tiles-renderer:1.0.0-alpha02 are released. Version 1.0.0-alpha02 contains these commits.
تغییرات API
-
androidx.wear:wear-tileshas moved groups, and should now be referred to asandroidx.wear.tiles:tiles -
androidx.wear:wear-tiles-rendererhas moved groups, and should now be referred to asandroidx.wear.tiles:tiles-renderer -
TileRenderer.LoadActionListenernow consumes an instance ofandroidx.wear.tiles.builders.StateBuilders.Staterather thanandroidx.wear.tiles.proto.StateProto.State. -
TileRenderernow accepts Tile resources fromandroidx.wear.tiles.builders.ResourceBuilders.Resources, rather than an instance ofandroidx.wear.tiles.renderer.ResourceAccessors.
رفع اشکالات
- Fixed inability to use
LoadActionListener, as it exposed an internal class.
نسخه ۱.۰.۰-آلفا۰۱
۱۰ مارس ۲۰۲۱
androidx.wear:wear-tiles:1.0.0-alpha01 , androidx.wear:wear-tiles-proto:1.0.0-alpha01 , and androidx.wear:wear-tiles-renderer:1.0.0-alpha01 are released. Version 1.0.0-alpha01 contains these commits.
ویژگیهای جدید
- The Wear Tiles Renderer library provides functionality to build custom Tiles for Wear OS devices, along with the classes that allow the system to fetch your Tile and display it right next to your watch face.