هسته
androidx.core.animation
androidx.core.app
androidx.core.content
androidx.core.role
androidx.core.view
( به refdocs برای همه بسته های اصلی مراجعه کنید )
این جدول تمام مصنوعات گروه androidx.core
را فهرست می کند.
مصنوع | انتشار پایدار | کاندید را آزاد کنید | نسخه بتا | انتشار آلفا |
---|---|---|---|---|
هسته | 1.17.0 | - | - | - |
هسته-انیمیشن | 1.0.0 | - | - | - |
core-google-shortcuts | 1.1.0 | - | - | 1.2.0-alpha01 |
عملکرد اصلی | 1.0.0 | - | - | - |
هسته-بازبینی های از راه دور | 1.1.0 | - | - | - |
نقش اصلی | 1.1.0 | - | - | - |
صفحه نمایش اصلی | 1.0.1 | 1.2.0-rc01 | - | - |
اعلام وابستگی ها
برای افزودن وابستگی به Core، باید مخزن Google Maven را به پروژه خود اضافه کنید. برای اطلاعات بیشتر، مخزن Maven Google را بخوانید.
وابستگیهای مصنوعات مورد نیاز خود را در فایل build.gradle
برای برنامه یا ماژول خود اضافه کنید:
Groovy
dependencies { def core_version = "1.17.0" // Java language implementation implementation "androidx.core:core:$core_version" // Kotlin implementation "androidx.core:core-ktx:$core_version" // To use RoleManagerCompat implementation "androidx.core:core-role:1.1.0" // To use the Animator APIs implementation "androidx.core:core-animation:1.0.0" // To test the Animator APIs androidTestImplementation "androidx.core:core-animation-testing:1.0.0" // Optional - To enable APIs that query the performance characteristics of GMS devices. implementation "androidx.core:core-performance:1.0.0" // Optional - to use ShortcutManagerCompat to donate shortcuts to be used by Google implementation "androidx.core:core-google-shortcuts:1.1.0" // Optional - to support backwards compatibility of RemoteViews implementation "androidx.core:core-remoteviews:1.1.0" // Optional - APIs for SplashScreen, including compatibility helpers on devices prior Android 12 implementation "androidx.core:core-splashscreen:1.2.0-rc01" }
Kotlin
dependencies { val core_version = "1.17.0" // Java language implementation implementation("androidx.core:core:$core_version") // Kotlin implementation("androidx.core:core-ktx:$core_version") // To use RoleManagerCompat implementation("androidx.core:core-role:1.1.0") // To use the Animator APIs implementation("androidx.core:core-animation:1.0.0") // To test the Animator APIs androidTestImplementation("androidx.core:core-animation-testing:1.0.0") // Optional - To enable APIs that query the performance characteristics of GMS devices. implementation("androidx.core:core-performance:1.0.0") // Optional - to use ShortcutManagerCompat to donate shortcuts to be used by Google implementation("androidx.core:core-google-shortcuts:1.1.0") // Optional - to support backwards compatibility of RemoteViews implementation("androidx.core:core-remoteviews:1.1.0") // Optional - APIs for SplashScreen, including compatibility helpers on devices prior Android 12 implementation("androidx.core:core-splashscreen:1.2.0-rc01") }
برای اطلاعات بیشتر درباره وابستگیها، به افزودن وابستگیهای ساخت مراجعه کنید.
بازخورد
بازخورد شما به بهتر شدن Jetpack کمک می کند. اگر مسائل جدیدی کشف کردید یا ایده هایی برای بهبود این کتابخانه دارید، به ما اطلاع دهید. لطفاً قبل از ایجاد کتابخانه جدید، به مسائل موجود در این کتابخانه نگاهی بیندازید. با کلیک کردن روی دکمه ستاره می توانید رای خود را به یک موضوع موجود اضافه کنید.
برای اطلاعات بیشتر به مستندات ردیاب مشکل مراجعه کنید.
Core-Backported-Fixes نسخه 1.0
نسخه 1.0.0-beta01
24 سپتامبر 2025
androidx.core:core-backported-fixes:1.0.0-beta01
منتشر شد. نسخه 1.0.0-beta01 حاوی این تعهدات است.
نسخه 1.0.0-alpha01
13 آگوست 2025
androidx.core:core-backported-fixes:1.0.0-alpha01
منتشر شد. نسخه 1.0.0-alpha01 حاوی این تعهدات است.
ویژگی های جدید
کتابخانه Core Backported Fixes به شما امکان می دهد بررسی کنید که آیا رفع اشکال حیاتی در دستگاه اعمال شده است یا خیر. این مفید است زیرا ممکن است زمان زیادی طول بکشد تا رفع اشکال در همه دستگاهها ارائه شود، و این API راهی را برای شما فراهم میکند که بدانید چه زمانی استفاده از ویژگیهایی که به یک اصلاح بستگی دارد، ایمن است.
val fixManager = BackportedFixManager() if (fixManager.isFixed(KnownIssues.KI_1234)) { Offer_experience_that_needs_fix() } else { Offer_experience_that_avoids_the_bug() }
این نسخه شامل
-
KnownIssues.KI_398591036
: تن رنگ غیرعادی هنگام گرفتن تصاویرJPEG-R
در برخی از دستگاه های Pixel. با استفاده از خروجی هایJPEG
تا زمانی که این KI حل شود رفع شود.
Core-Viewtree نسخه 1.0
نسخه 1.0.0
26 فوریه 2025
androidx.core:core-viewtree:1.0.0
به اولین نسخه پایدار خود بدون تغییر نسبت به نسخه RC قبلی خود ارتقا یافته است.
این کتابخانه مفهوم یک View را معرفی می کند که می تواند یک والد مجزا داشته باشد. والد جدا از یک view یک شی View
جداگانه است که به عنوان والد view عمل می کند، اما از طریق ویژگی View.parent
تنظیم نشده است. نمونههایی از نماها با والدین متفاوت عبارتند از ViewOverlays
، پنجرههای بازشو، و گفتگوها که همگی خارج از سلسله مراتب نمای اصلی ظاهر میشوند. یک View تنها در صورتی می تواند والد مجزا داشته باشد که از طریق ویژگی View.parent
پلتفرم، والد مستقیم نداشته باشد. در حال حاضر، androidx فقط والد مجزا را برای ViewOverlays
ایجاد شده توسط Transition 1.6.0-alpha01
و بالاتر تنظیم می کند. همچنین میتوانید والدین غیرمتشکل خود را برای نماها مشخص کنید. برای اطلاعات بیشتر به مستندات مراجعه کنید.
نسخه 1.0.0-rc01
12 فوریه 2025
androidx.core:core-viewtree:1.0.0-rc01
بدون تغییر از زمان بتا منتشر شد.
نسخه 1.0.0-beta01
29 ژانویه 2025
androidx.core:core-viewtree:1.0.0-beta01
بدون هیچ تغییری از زمان آلفا منتشر شد. نسخه 1.0.0-beta01 حاوی این تعهدات است.
نسخه 1.0.0-alpha01
11 دسامبر 2024
androidx.core:core-viewtree:1.0.0-alpha01
منتشر شد. نسخه 1.0.0-alpha01 حاوی این تعهدات است.
ویژگی های جدید
انتشار اولیه
core-viewtree
، به طور گذرا توسط هسته androidx در معرض دید قرار گرفت.این نسخه اولیه مفهومی را معرفی می کند که یک View می تواند یک والد مجزا داشته باشد. والد جدا از یک view یک شی
View
جداگانه است که به عنوان والد view عمل می کند، اما از طریق ویژگیView.parent
تنظیم نشده است. نمونههایی از نماها با والدین متفاوت عبارتند ازViewOverlays
، پنجرههای بازشو، و گفتگوها که همگی خارج از سلسله مراتب نمای اصلی ظاهر میشوند. یک View تنها در صورتی می تواند والد مجزا داشته باشد که از طریق ویژگیView.parent
پلتفرم، والد مستقیم نداشته باشد. در حال حاضر، androidx فقط والد مجزا را برایViewOverlays
ایجاد شده توسط انتقال تنظیم می کند. همچنین میتوانید والدین غیرمتشکل خود را برای نماها مشخص کنید. برای اطلاعات بیشتر به مستندات مراجعه کنید.
تغییرات API
- متدهای
ViewParent.getParentOrViewTreeDisjointParent()
وViewParent.setViewTreeDisjointParent(View, ViewParent?)
را اضافه می کند ( Ib2950 )
Core-i18n نسخه 1.0
نسخه 1.0.0
9 آوریل 2025
androidx.core:core-i18n:1.0.0
منتشر شد.
این مؤلفه ایجاد برنامه های بین المللی مناسب را با تمرکز بر دو حوزه اصلی آسان تر می کند:
- عملکرد قالببندی تاریخ و زمان با پیروی از بهترین شیوههای فعلی، احترام به تنظیمات سفارشی کاربر، و ارائه یک API یکپارچه که به درستی در نسخههای قدیمی و جدید Android کار میکند.
- یک بکپورت از
android.icu.text.MessageFormat
که روی APIهای قدیمی کار می کند. اما هنوز در نسخه های جدید اندروید مفید است زیرا قالب بندی تاریخ / زمان ذکر شده در بالا را ادغام می کند. این به تنظیمات کاربر احترام می گذارد، کهandroid.icu.text.MessageFormat
انجام نمی دهد.
این مؤلفه وسیلهای برای پشتیبانگیری APIهای جدید i18n، افزودن قابلیتها یا اصلاحات جدید i18n، و به طور کلی آسانتر کردن بینالمللیسازی خواهد بود.
نسخه 1.0.0-rc01
26 مارس 2025
androidx.core:core-i18n:1.0.0-rc01
بدون هیچ تغییر قابل توجهی از آخرین نسخه بتا منتشر شده است. نسخه 1.0.0-rc01 حاوی این commit ها است.
نسخه 1.0.0-beta01
12 مارس 2025
androidx.core:core-i18n:1.0.0-beta01
منتشر شد. نسخه 1.0.0-beta01 حاوی این تعهدات است.
ویژگی های جدید
- این اولین نسخه از کامپوننت
core-i18n
است. این مؤلفه ایجاد برنامه های بین المللی مناسب را با تمرکز بر دو حوزه اصلی آسان تر می کند:- عملکرد قالببندی تاریخ و زمان با پیروی از بهترین شیوههای فعلی، احترام به تنظیمات سفارشی کاربر، و ارائه یک API یکپارچه که به درستی در نسخههای قدیمی و جدید Android کار میکند.
- یک بکپورت از
android.icu.text.MessageFormat
که روی APIهای قدیمی کار می کند. اما هنوز در نسخه های جدید اندروید مفید است زیرا قالب بندی تاریخ / زمان ذکر شده در بالا را ادغام می کند. این به تنظیمات کاربر احترام می گذارد، کهandroid.icu.text.MessageFormat
انجام نمی دهد. - این مؤلفه وسیلهای برای پشتیبانگیری APIهای جدید i18n، افزودن قابلیتها یا اصلاحات جدید i18n، و به طور کلی آسانتر کردن بینالمللیسازی خواهد بود.
نسخه 1.0.0-alpha01
26 جولای 2023
androidx.core:core-i18n:1.0.0-alpha01
منتشر شد. نسخه 1.0.0-alpha01 حاوی این commit ها است.
Core-location-altitude نسخه 1.0.
نسخه 1.0.0-alpha03
16 اکتبر 2024
androidx.core:core-location-altitude:1.0.0-alpha03
، androidx.core:core-location-altitude-external-protobuf:1.0.0-alpha03
و androidx.core:core-location-altitude-proto:1.0.0-alpha03
منتشر شدند. نسخه 1.0.0-alpha03 حاوی این تعهدات است.
رفع امنیتی
- با توجه به این تغییر ، androidx در برابر protobuf 4.28.2 به منظور آدرس دهی CVE-2024-7254 کامپایل می شود. وابستگی خود را به
androidx.core:core-location-altitude-proto
وandroidx.core:core-location-altitude-external-protobuf
به 1.1.0-alpha03 ارتقا دهید تا خطر آسیب پذیری را برطرف کنید.
رفع اشکال
- طرح دستی دسترسی به APIهای پلتفرم جدید حذف شد زیرا این به طور خودکار از طریق مدلسازی API هنگام استفاده از R8 با AGP 7.3 یا جدیدتر (مثلا R8 نسخه 3.3) و برای همه ساختها هنگام استفاده از AGP 8.1 یا بالاتر (به عنوان مثال D8 نسخه 8.1) اتفاق میافتد. به مشتریانی که از AGP استفاده نمیکنند، توصیه میشود به نسخه 8.1 یا بالاتر D8 بهروزرسانی کنند. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae , b/345472586 )
نسخه 1.0.0-alpha02
12 ژوئن 2024
androidx.core:core-location-altitude:1.0.0-alpha02
، androidx.core:core-location-altitude-external-protobuf:1.0.0-alpha02
و androidx.core:core-location-altitude-proto:1.0.0-alpha02
منتشر شدند. نسخه 1.0.0-alpha02 حاوی این تعهدات است.
رفع اشکال
- رفع خرابی حفاظتی ناشی از بسته بندی مجدد کتابخانه های اولیه.
مشارکت خارجی
- رفع اشکال در بالا توسط andrekir@pm.me ارائه شده است
نسخه 1.0.0-alpha01
26 جولای 2023
androidx.core:core-i18n:1.0.0-alpha01
و androidx.core:core-location-altitude:1.0.0-alpha01
منتشر شدند. نسخه 1.0.0-alpha01 حاوی این commit ها است.
ویژگی های جدید
- کلاس
AltitudeConverterCompat
با یک روش ثابت اضافه شدaddMslAltitudeToLocation(Context, Location)
( I11168 ).
Core-telecom نسخه 1.1
نسخه 1.1.0-alpha01
8 اکتبر 2025
androidx.core:core-telecom:1.1.0-alpha01
منتشر شد. نسخه 1.1.0-alpha01 حاوی این تعهدات است.
ویژگی های جدید
- این امکان برای برنامهها اضافه شد تا درخواست کنند یک تماس خاص در گزارش تماسهای سیستم ذخیره نشود، حتی اگر برنامه عموماً ثبت تماس را انتخاب کرده باشد. این ویژگی فقط در دستگاههایی که
Build.VERSION.SDK_INT_FULL >= Build.VERSION_CODES_FULL.BAKLAVA_1
اجرا میکنند، کارآمد است.
تغییرات API
- ویژگی اختیاری
isLogExcluded
Boolean را به کلاس دادهCallAttributesCompat
معرفی کرد. تنظیم این مورد روی true از سیستم درخواست میکند تا تماس را از گزارش تماس حذف کند. در نسخه های پلتفرم قدیمی، این ویژگی هیچ تاثیری ندارد. لطفاً توجه داشته باشید که تماس های VoIP به طور پیش فرض در گزارش تماس های سیستم ثبت نمی شوند. توسعه دهندگان ابتدا باید به صراحت برنامه خود را برای شرکت در ثبت تماس های سیستمی انتخاب کنند. برای این کار باید یک کنترل کننده قصد برایandroid.telecom.action.CALL_BACK
در مانیفست برنامه اعلام شود. ویژگی جدیدisLogExcluded
برای برنامه هایی که قبلاً این ادغام را فعال کرده اند، گزینه حذف هر تماس را ارائه می دهد. ( d14695 )
Core-telecom نسخه 1.0.
نسخه 1.0.1
27 آگوست 2025
androidx.core:core-telecom:1.0.1
منتشر شد. نسخه 1.0.1 یک نسخه رفع اشکال است که شامل بهبودهای زیر است که در این commit ها یافت می شود.
رفع اشکال
- مسیریابی صوتی و مدیریت نقطه پایانی
- مشکلی که در آن نقطه پایانی صوتی انتخابی قبل از تماس کاربر (به عنوان مثال، Earpiece) هنگام شروع تماس ویدیویی به اشتباه به بلندگو تغییر میکرد، حل شد. اکنون کتابخانه تضمین می کند که مسیر صوتی ترجیحی کاربر حفظ می شود. ( 8fa4ba7 , 71d7be8 )
- منطق سوئیچینگ صدا را برای جلوگیری از تغییر خودکار تماس ها از هدست بلوتوث به بلندگو، به ویژه زمانی که اتصال دستگاه بلوتوث یک لحظه طول می کشد، بهبود بخشید. این بررسی به مجوز BLUETOOTH_CONNECT برای تمایز بین انواع دستگاه نیاز دارد. ( de83f3e )
- عملکرد بلندگوی خودکار برای تماس های ویدیویی برای کاربران بدون دستگاه بلوتوث بهینه شده است. کتابخانه اکنون قبل از درخواست مجوز BLUETOOTH_CONNECT، بررسی کمتری را برای دستگاههای بلوتوث انجام میدهد و تجربه را برای کاربران غیر بلوتوث بهبود میبخشد. ( 721f4e2 )
- پایداری و رفع خرابی
نسخه 1.0.0
7 مه 2025
androidx.core:core-telecom:1.0.0
منتشر شد. نسخه 1.0.0 حاوی این تعهدات است.
ویژگی های اصلی 1.0.0
- انتشار پایدار اولیه API core-telecom، با تمرکز بر سطح
CallsManager
API برای ادغام تماسهای VoIP در پلتفرم اندروید.
نسخه 1.0.0-rc01
9 آوریل 2025
androidx.core:core-telecom:1.0.0-rc01
منتشر شد. نسخه 1.0.0-rc01 حاوی این commit ها است.
ویژگی های جدید
پسوندهای تماس آزمایشی API جدید. پسوندهای آزمایشی جدید اضافه شده در این نسخه عبارتند از:
- پشتیبانی از برنامه افزودنی از راه دور خلاصه جلسه، به یک سطح راه دور اجازه می دهد تا اطلاعات خلاصه جلسه (تعداد سخنران فعلی و تعداد شرکت کنندگان) را از برنامه VoIP متصل دریافت کند. ( 7cf095f )
- پشتیبانی از Call Icon Extension که به یک برنامه VoIP اجازه میدهد یک Icon Uri را به یک
InCallService
از راه دور (خودکار، صفحه ساعت و غیره) ارسال کند. نماد می تواند در طول تماس به روز شود و می تواند همان مقدار URI را داشته باشد. ( 8e1813e )
نسخه 1.0.0-beta01
11 دسامبر 2024
androidx.core:core-telecom:1.0.0-beta01
منتشر شد. نسخه 1.0.0-beta01 حاوی این تعهدات است.
ویژگی های جدید
نسخه بتا برای ویژگی های جدید زیر:
- واکشی نقاط پایانی صوتی موجود قبل از افزودن تماس. توسعه دهندگان برنامه اکنون می توانند تمام نقاط پایانی موجود را قبل از برقراری تماس نمایش دهند که به کاربران امکان می دهد به طور یکپارچه نقطه پایانی صوتی مورد نظر خود را انتخاب کرده و تنظیمات خود را بهینه کنند. این امر نیاز به تنظیمات در هنگام تماس را در شروع تماس از بین می برد و تجربه ای روان تر را ارائه می دهد.
- پشتیبانی آزمایشی API برای پسوندهای تماس برنامه VOIP. برنامه های افزودنی تماس به برنامه اجازه می دهد تا جزئیات بیشتری را در مورد یک تماس در حال انجام، مانند لیست شرکت کنندگان در تماس یا جلسه گروهی ارائه دهد. سپس سطوح راه دور پشتیبانیشده مانند Android Auto میتوانند این اطلاعات را به کاربر نشان دهند و به او اجازه دهند با برنامههای افزودنی پشتیبانیشده تعامل داشته باشند. پسوندهای آزمایشی جدید اضافه شده در این نسخه عبارتند از:
- پشتیبانی از نمایش شرکت کنندگان در یک تماس یا جلسه گروهی و توضیح اینکه کدام شرکت کننده فعال است. پشتیبانی از اقدامات اختیاری زیر در مورد شرکت کنندگان:
- بالا و پایین بردن دست شرکت کنندگان.
- لگد زدن به شرکت کنندگان
- پشتیبانی از سکوت تماس، که به سطوح از راه دور اجازه میدهد تا یک تماس VOIP را بدون بیصدا کردن سراسری میکروفون خاموش کنند.
- پشتیبانی از نمایش شرکت کنندگان در یک تماس یا جلسه گروهی و توضیح اینکه کدام شرکت کننده فعال است. پشتیبانی از اقدامات اختیاری زیر در مورد شرکت کنندگان:
تغییرات API
- تغییر نام
addLocalSilenceExtension
بهaddLocalCallsilenceExtension
( If4a9c ) -
preferredStartingCallEndpoint
ازvar
بهval
تغییر دهید. ( Iab6b7 ) - افزودن APIهای سکوت تماس محلی ( I29dd0 )
- اجرای تابع
compareTo
برای کلاسCallEndpointCompat
( Ia06b7 ) - API اقدامات آزمایشی برنامه را اضافه می کند. ( Ifb796 )
- افزودن
CallsManager
API جدیدgetAvailableStartingCallEndpoints
( Ia8bcf ) - حاشیه نویسی
ExperimentalAppActions
را به روز کنید تا مطمئن شوید که تمام موارد استفاده از ویژگی آزمایشی را به طور دقیق ردیابی می کند. ( ID5ea5 )
رفع اشکال
- افزودن گیرنده حالت بیصدا جهانی برای Android API سطح 28 تا 33. ( I75e66 )
- رفع مشکلی که در آن فقط آخرین
InCallService
متصل میتواند رویدادهای اقدام را ارسال کند ( I39599 ) - ICS Extensions API را برای اقدامات برنامه voip پیادهسازی میکند. ( I1274c )
- رد کردن تماس قبل از سطح API 34 اکنون به درستی تماس را در Telecom از بین می برد. ( I635b7 )
- اکنون
addCall
بهجای برنامه اصلی، Exceptionها را از طریق API پرتاب میکند ( I83334 ) - یک مقدار جایبانی به بستههای اضافی اضافه کنید ( Iebf7f )
- طرح دستی دسترسی به APIهای پلتفرم جدید حذف شد زیرا این به طور خودکار از طریق مدلسازی API هنگام استفاده از R8 با AGP 7.3 یا جدیدتر (مثلا R8 نسخه 3.3) و برای همه ساختها هنگام استفاده از AGP 8.1 یا بالاتر (به عنوان مثال D8 نسخه 8.1) اتفاق میافتد. به مشتریانی که از AGP استفاده نمیکنند، توصیه میشود به نسخه 8.1 یا بالاتر D8 بهروزرسانی کنند. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae , b/345472586 )
- پشتیبانی آزمایشی برای برنامههای افزودنی به
CallsManager#addCall
اضافه میکند. ( I24d92 ) - Core-Telecom اکنون در صورتی که پلتفرم به دلیل استثناء، رسیدن به حداکثر تعداد تماس و غیره، تماس را اضافه نکند، یک
CallException
پرتاب میکند ( I41f27 )
نسخه 1.0.0-alpha03
17 آوریل 2024
androidx.core:core-telecom:1.0.0-alpha03
منتشر شد. نسخه 1.0.0-alpha03 حاوی این تعهدات است.
رفع اشکال
- Refactor
JetpackConnectionService
برای تصحیح مشکلی که در SDK 33 و پایینتر وقتی آدرس ارسال شده خالی است، رخ میدهد.JetpackConnectionService
بازسازی شده همچنین در برابر مقادیر NULL غیرمنتظره از APIهای پلتفرم مخابراتی مقاوم است. - بهبودهایی در اسناد
addCall/CallControlScope
API. - تست بهبود قابلیت اطمینان
نسخه 1.0.0-alpha02
4 اکتبر 2023
androidx.core:core-telecom:1.0.0-alpha02
منتشر شد. نسخه 1.0.0-alpha02 حاوی این commit ها است.
تغییرات API
- امضاهای API را برای روشهایی که برای نشان دادن موفقیت/شکست بهعنوان بولی برمیگرداند، اصلاح کرد تا در عوض یک کلاس نتیجه را بازگرداند که به وضوح نشان میدهد چرا یک عملیات موفق یا شکست خورده است.
- روشهای
CallControlCallback
را بهعنوان args lambda بهaddCall
منتقل کرد تا نیاز به ارائه صریح پاسخ به تماس در محدوده تماس برطرف شود.
رفع اشکال
- یک اشکال در لایه سازگاری
ConnectionService
رفع شد که باعث میشد هنگام اجرا در برابر SDKهای پیش از U، صدای تماس برقرار نشود. - بهبود اسناد API
نسخه 1.0.0-alpha01
10 مه 2023
androidx.core:core-telecom:1.0.0-alpha01
منتشر شد. این نسخه در یک شعبه داخلی توسعه یافته است و باید با اندروید 14 بتا 2 استفاده شود.
ویژگی های جدید
CallsManager
API را معرفی میکند که برنامههای VoIP میتوانند از آن برای ادغام با چارچوب Telecom در دستگاه استفاده کنند. تماسهای اعلامشده به این پلتفرم از اولویت اجرای پیشزمینه، قابلیت مشاهده در بلوتوث، دستگاههای پوشیدنی و خودرویی و مسیریابی صوتی ساده بهره میبرند.CallsManager
API قدیمیConnectionService
API را برای دستگاههایی که از نسخههای قدیمیتر Android استفاده میکنند، میپوشاند.
Core و Core-ktx نسخه 1.17
نسخه 1.17.0
13 آگوست 2025
androidx.core:core:1.17.0
، androidx.core:core-ktx:1.17.0
و androidx.core:core-testing:1.17.0
منتشر شدند. نسخه 1.17.0 شامل این commit ها است.
تغییرات مهم از 1.16.0
- کتابخانه Core برای هدف قرار دادن سطح زبان Kotlin 2.0 به روز شده است و نیاز به استفاده از Kotlin Gradle Plugin 2.0.0 یا جدیدتر دارد.
نسخه 1.17.0-rc01
30 جولای 2025
androidx.core:core:1.17.0-rc01
، androidx.core:core-ktx:1.17.0-rc01
و androidx.core:core-testing:1.17.0-rc01
منتشر شدند. نسخه 1.17.0-rc01 هیچ تغییری نسبت به نسخه بتا قبلی ندارد.
نسخه 1.17.0-beta01
2 ژوئیه 2025
androidx.core:core:1.17.0-beta01
، androidx.core:core-ktx:1.17.0-beta01
و androidx.core:core-testing:1.17.0-beta01
منتشر شدند. نسخه 1.17.0-beta01 هیچ تغییری نسبت به نسخه آلفای قبلی ندارد.
نسخه 1.17.0-alpha01
18 ژوئن 2025
androidx.core:core:1.17.0-alpha01
، androidx.core:core-ktx:1.17.0-alpha01
و androidx.core:core-testing:1.17.0-alpha01
منتشر شدند. نسخه 1.17.0-alpha01 حاوی این commit ها است.
ویژگی های جدید
- کتابخانه Core برای هدف قرار دادن سطح زبان Kotlin 2.0 به روز شده است و نیاز به استفاده از Kotlin Gradle Plugin 2.0.0 یا جدیدتر دارد. ( Idb6b5 )
تغییرات API
NotificationCompat.ProgressStyle
وNotificationCompat.Builder.setRequestPromotedOngoing()
اضافه شد. برای جزئیات به اعلانهای محور پیشرفت و بهروزرسانیهای زنده مراجعه کنید.اضافه شدن تابع پسوند
Parcel.use
برای مدیریت ایمن منابعParcel
. ( I436da )
Core و Core-ktx نسخه 1.16
نسخه 1.16.0
9 آوریل 2025
androidx.core:core:1.16.0
، androidx.core:core-ktx:1.16.0
و androidx.core:core-testing:1.16.0
منتشر شده است. نسخه 1.16.0 حاوی این تعهدات است.
تغییرات مهم از 1.15.0
- این کتابخانه اکنون از حاشیهنویسیهای پوچ JSpecify استفاده میکند که نوع استفاده هستند. توسعه دهندگان Kotlin باید از آرگومان کامپایلر زیر برای اعمال استفاده صحیح استفاده کنند:
-Xjspecify-annotations=strict
(این پیش فرض با نسخه 2.1.0 کامپایلر Kotlin شروع می شود). ( Iaf3e1 , b/326456246 )
نسخه 1.16.0-rc01
26 مارس 2025
androidx.core:core:1.16.0-rc01
، androidx.core:core-ktx:1.16.0-rc01
و androidx.core:core-testing:1.16.0-rc01
منتشر شدند. نسخه 1.16.0-rc01 هیچ تغییری نسبت به نسخه بتا قبلی ندارد.
نسخه 1.16.0-beta01
12 مارس 2025
androidx.core:core:1.16.0-beta01
، androidx.core:core-ktx:1.16.0-beta01
و androidx.core:core-testing:1.16.0-beta01
منتشر شدند. نسخه 1.16.0-beta01 حاوی این تعهدات است.
تغییرات API
- APIهای محافظت از اینست را اصلاح کنید ( I7050d )
- کلید جدیدی را برای دریافت کرانهای کاراکتر در مختصات پنجره بزرگنمایی نشده اضافه می کند. ( If7a06 )
- اگر
AccesibilityNodeInfo
یک فیلد الزامی را نشان میدهد، ویژگی بولی جدید اضافه کنید. ( I4fd2d ) - Backport
View.transformMatrixToGlobal
بهViewCompat
( If17e2 )
نسخه 1.16.0-alpha02
29 ژانویه 2025
androidx.core:core:1.16.0-alpha02
، androidx.core:core-ktx:1.16.0-alpha02
و androidx.core:core-testing:1.16.0-alpha02
منتشر شدند. نسخه 1.16.0-alpha02 حاوی این commit ها است.
تغییرات API
- اضافه کردن
BuildCompat.isAtLeastB
برای بررسی اینکه آیا API اضافه شده در باقلوا در دسترس است ( I0f89c ) - برای دریافت لیستی از نمایشگرهای داخلی، یک API آزمایشی اضافه کنید. ( Idda4d )
- مجموعه ای از API های مربوط به اطمینان از کنتراست نوار سیستم را اضافه کنید ( I9849c )
رفع اشکال
- رفع مشکلی که در آن
getLaunchDisplayId()
مقدار پیش فرض نادرست 0 را در SDK < 26 برگرداند. ( Icd679 ) - این کتابخانه اکنون از حاشیهنویسیهای پوچ JSpecify استفاده میکند که نوع استفاده هستند. توسعه دهندگان Kotlin باید از آرگومان کامپایلر زیر برای اعمال استفاده صحیح استفاده کنند:
-Xjspecify-annotations=strict
(این پیش فرض با نسخه 2.1.0 کامپایلر Kotlin شروع می شود). ( Iaf3e1 , b/326456246 )
نسخه 1.16.0-alpha01
11 دسامبر 2024
androidx.core:core:1.16.0-alpha01
، androidx.core:core-ktx:1.16.0-alpha01
و androidx.core:core-testing:1.16.0-alpha01
منتشر شدند. نسخه 1.16.0-alpha01 حاوی این تعهدات است.
تغییرات API
-
setLaunchDisplayId
بهActivityOptionsCompat
اضافه شد. ( I39e77 , b/379669743 ) - API سازگار برای
SYSTEM_OVERLAYS
اضافه شد. ( Ibd1fd , b/287470173 ) - اضافه شد
OutcomeReceiverCompat
، نسخه ای ازOutcomeReceiver
Android که در تمام سطوح API موجود است. ( Ib8265 , b/380060342 ) - کلاس compat برای
android.view.ScrollFeedbackProvider
اضافه شد. ( Icaa92 ) -
ViewCompat.addViewOverlay(View)
به عنوان جایگزینی برایView.getOverlay().add(View)
اضافه شد. نوعViewCompat
مشکلی را برطرف میکند که در آن مالکانی مانندLifecycleOwner
وViewModelStoreOwner
نمیتوانستند بین نمای در حال همپوشانی و مالک پوشش حل شوند. ( I81413 ) - این مفهوم را معرفی می کند که یک
View
بتواند یک والد مجزا داشته باشد. والد جدا از یک view، نمای متفاوتی است که به طور موثری دیدگاه دیگر را والد می کند، اما از طریق ویژگیView.parent
تنظیم نمی شود. برای اطلاعات بیشتر به مستندات مراجعه کنید. ( Ib2950 ) - یک API جدید
ViewGroupCompat#installCompatInsetsDispatch
برای توسعه دهندگان اضافه شد تا مشکل ارسال insets را که قبل از API 30 وجود داشت برطرف کنند. ( I11159 ) -
FontsContractCompat.TypefaceStyle
IntDef برای حاشیه نویسی سبک هایTypeface
درFontsContractCompat
اضافه شد. ( Ib3e5b )
مشارکت خارجی
-
BuildCompat.isAtLeastV
منسوخ شده است. تماسگیرندگان باید مستقیماًSDK_INT
در مقابل 35 بررسی کنند. با تشکر از جیک وارتون! ( I294d1 ) - یک پرچم تغییرپذیری به
TaskStackBuilder
اضافه شد. با تشکر از کمال فرج! ( Ife0ec , b/371534781 )
Core و Core-ktx نسخه 1.15
نسخه 1.15.0
30 اکتبر 2024
androidx.core:core:1.15.0
، androidx.core:core-ktx:1.15.0
و androidx.core:core-testing:1.15.0
منتشر شدند. نسخه 1.15.0 حاوی این تعهدات است.
تغییرات مهم از 1.14.0
- طرح دستی دسترسی به APIهای پلتفرم جدید حذف شد زیرا این به طور خودکار از طریق مدلسازی API هنگام استفاده از R8 با AGP 7.3 یا جدیدتر (مثلا R8 نسخه 3.3) و برای همه ساختها هنگام استفاده از AGP 8.1 یا بالاتر (به عنوان مثال D8 نسخه 8.1) اتفاق میافتد. به مشتریانی که از AGP استفاده نمیکنند، توصیه میشود به نسخه 8.1 یا بالاتر D8 بهروزرسانی کنند. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae , b/345472586 )
- بهروزرسانیهای مختلف برای کلاسهای سازگاری برای برابری با Android 15 SDK.
نسخه 1.15.0-rc01
16 اکتبر 2024
androidx.core:core:1.15.0-rc01
، androidx.core:core-ktx:1.15.0-rc01
و androidx.core:core-testing:1.15.0-rc01
منتشر شدند. نسخه 1.15.0-rc01 هیچ تغییری نسبت به نسخه قبلی ندارد.
نسخه 1.15.0-beta01
2 اکتبر 2024
androidx.core:core:1.15.0-beta01
، androidx.core:core-ktx:1.15.0-beta01
و androidx.core:core-testing:1.15.0-beta01
منتشر شدند. نسخه 1.15.0-beta01 حاوی این تعهدات است.
تغییرات API
- فیلدهای
itemCount
وimportantForAccessibilityItemCount
بهCollectionInfoCompat
اضافه شد. ( ایباف34 )
رفع اشکال
- رفع مشکلات مستندات در
androidx.core.os.Profiling
( I2542f )
نسخه 1.15.0-alpha02
21 آگوست 2024
androidx.core:core:1.15.0-alpha02
، androidx.core:core-ktx:1.15.0-alpha02
و androidx.core:core-testing:1.15.0-alpha02
منتشر شدند. نسخه 1.15.0-alpha02 حاوی این commit ها است.
تغییرات مهم
- طرح دستی دسترسی به APIهای پلتفرم جدید حذف شد زیرا این به طور خودکار از طریق مدلسازی API هنگام استفاده از R8 با AGP 7.3 یا جدیدتر (مثلا R8 نسخه 3.3) و برای همه ساختها هنگام استفاده از AGP 8.1 یا بالاتر (به عنوان مثال D8 نسخه 8.1) اتفاق میافتد. به مشتریانی که از AGP استفاده نمیکنند، توصیه میشود به نسخه 8.1 یا بالاتر D8 بهروزرسانی کنند. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae , b/345472586 )
تغییرات API
- ویژگی
fallbackQuery
XML به تعاریف فونت قابل دانلود اضافه شد که امکان بازگشت مجدد در سطح کاراکتر با فونت های قابل دانلود را فراهم می کند. ( Idd544 ) - API های کمکی را برای استفاده از
ProfilingManager
اضافه می کند ( If2292 ) - افزودن روش سازگار برای
ActivityOptions.setPendingIntentBackgroundActivityStartMode
( I3ba1f , b/349617674 ) -
DisplayCutoutCompat.getCutoutPath
اضافه شد ( I58778 , b/279635904 ) - منسوخ شدن
ParcelCompat.writeBoolean
را برمیگرداند و به API پلتفرم در سطح API 29 و بالاتر واگذار میکند. ( I9d243 , b/313834577 ) - ایجاد
FontsContractCompat.requestFonts
که مجریان را می گیرد ( I03016 , b/302377512 ) - منسوخ شدن
LocationCompat.isMock
را برمیگرداند و به API پلتفرم در سطح API 31 و بالاتر واگذار میکند. ( I55940 , b/313834577 ) - اعلان ها اکنون می توانند به عنوان پست صوتی برچسب گذاری شوند. ( I068ab )
نسخه 1.15.0-alpha01
12 ژوئن 2024
androidx.core:core:1.15.0-alpha01
، androidx.core:core-ktx:1.15.0-alpha01
و androidx.core:core-testing:1.15.0-alpha01
منتشر شدند. این نسخه در یک شعبه داخلی توسعه یافته و با اندروید 15 بتا 3 ( android-35
) سازگار است.
تغییرات API
- بهروزرسانیهای مختلف برای کلاسهای سازگاری برای برابری با Android 15 SDK.
Core و Core-ktx نسخه 1.14
نسخه 1.14.0-alpha01
1 مه 2024
androidx.core:core:1.14.0-alpha01
، androidx.core:core-ktx:1.14.0-alpha01
و androidx.core:core-testing:1.14.0-alpha01
منتشر شدند. نسخه 1.14.0-alpha01 حاوی این commit ها است.
ویژگی های جدید
- به عنوان نسخه پیشفرض
minSdkVersion
کتابخانههای androidx به 21 بروید ( I6ec7f )
تغییرات API
- منسوخ شدن روشهای دیگر منسوخ سازگار. ( Ie4470 , b/313834577 )
- روشهای سازگار منسوخ منسوخ. ( I01d90 , b/313834577 )
-
isAtLeastV()
را به روز کرد تا برای V SDK نهایی شده، true را برگرداند. ( I6339a )
Core و Core-ktx نسخه 1.13
نسخه 1.13.1
1 مه 2024
androidx.core:core:1.13.1
، androidx.core:core-ktx:1.13.1
و androidx.core:core-testing:1.13.1
منتشر شده است. نسخه 1.13.1 شامل این commit ها است.
رفع اشکال
- رفع مشکلی که وقتی نوار ابزار دستنویس نشان داده میشود، ضربه انگشت نمیتواند به صفحهکلید معمولی جابجا شود ( I7f843 ، b/332769437 )
نسخه 1.13.0
17 آوریل 2024
androidx.core:core:1.13.0
، androidx.core:core-ktx:1.13.0
و androidx.core:core-testing:1.13.0
منتشر شده است. نسخه 1.13.0 شامل این commit ها است.
تغییرات مهم از 1.12.0
-
minSdkVersion
کتابخانه به19
افزایش یافته است. بسیاری از APIهای سازگاری منسوخ شده اند، زیرا فقط قبل از سطح API 19 مورد نیاز بودند. - چندین کلاس در Kotlin بازنویسی شده اند تا ضمن حفظ سازگاری جاوا، قابلیت همکاری بهتر با مصرف کنندگان Kotlin را فراهم کنند.
-
FingerprintManagerCompat
حذف شد، که در Android V شروع به کار می کند و نباید در پلتفرم های قبلی استفاده شود. مشتریان باید فوراً بهBiometricPrompt
مهاجرت کنند. -
PathParser
اضافه شد، که می تواند یک نمونه Path را از رشته های مسیر SVG ایجاد کند.
نسخه 1.13.0-rc01
3 آوریل 2024
androidx.core:core:1.13.0-rc01
، androidx.core:core-ktx:1.13.0-rc01
و androidx.core:core-testing:1.13.0-rc01
منتشر شدند. نسخه 1.13.0-rc01 حاوی این commit ها است.
رفع اشکال
- رفع مشکل بازیابی ظاهر اولیه نوار سیستم در API 30+ ( I18596 , b/219993701 )
نسخه 1.13.0-beta01
20 مارس 2024
androidx.core:core:1.13.0-beta01
، androidx.core:core-ktx:1.13.0-beta01
و androidx.core:core-testing:1.13.0-beta01
منتشر شدند. نسخه 1.13.0-beta01 حاوی این تعهدات است.
تغییرات API
-
PathParser
اکنونfinal
است،interpolatePathDataNodes
اکنون یک استثنا برای آرگومان های ناسازگار به جای برگرداندن یکboolean
ایجاد می کند، وnodesToPath
اکنون به جایPathParser.PathDataNode
بهPathParser
تعلق دارد. ( I20d62 ) -
FingerprintManagerCompat
قبل از حذف از SDK پلتفرم Android V به نرمی حذف شده است. در آینده نزدیک این پیاده سازی با no-op جایگزین خواهد شد و توسعه دهندگان باید فوراً از این کلاس مهاجرت کنند. ( I7ca1b ) - رابط
Pool
و زیر کلاس های آن،SimplePool
وSynchronizedPool
اکنون در Kotlin نوشته شده اند. نوع عمومی اشیاء ذخیره شده در Pool اکنون باید غیر پوچ باشد. ( I08afe )
مشارکت خارجی
-
GestureDetectorCompat
اکنون منسوخ شده است زیرا تضمین شده است کهGestureDetector
در حداقل نسخه SDK کتابخانه در پلتفرم موجود باشد. با تشکر از جیک وارتون برای کمک. ( ICC4cd ) -
MarginLayoutParamsCompat
اکنون منسوخ شده است زیراMarginLayoutParams
تضمین شده است که در پلتفرم به عنوان حداقل نسخه SDK کتابخانه در دسترس باشد. با تشکر از جیک وارتون برای کمک. ( I4e0c3 )
نسخه 1.13.0-alpha05
7 فوریه 2024
androidx.core:core:1.13.0-alpha05
، androidx.core:core-ktx:1.13.0-alpha05
و androidx.core:core-testing:1.13.0-alpha05
منتشر شدند. نسخه 1.13.0-alpha05 حاوی این commit ها است.
مشارکت خارجی
- با تشکر از متیو زاویسلاک برای به روز رسانی اسناد
ContextCompat.registerReceiver
برای صحت. ( 8fd733 )
نسخه 1.13.0-alpha04
24 ژانویه 2024
androidx.core:core:1.13.0-alpha04
، androidx.core:core-ktx:1.13.0-alpha04
و androidx.core:core-testing:1.13.0-alpha04
منتشر شدند. نسخه 1.13.0-alpha04 حاوی این commit ها است.
ویژگی های جدید
-
AlarmManagerCompat.canScheduleExactAlarms
API اضافه شد ( I62e95 , b/315440583 )
تبدیل کاتلین
- کلاس
androidx.core.util.Consumer
در Kotlin بازنویسی شده است و اکنون اعمال می شود که نوع عمومیT
اکنون با تهی پذیری آنچه که متدaccept()
می کند مطابقت دارد. ( Ie21e0 ) -
androidx.core.util.Supplier
به Kotlin تبدیل شده است، و اطمینان حاصل می کند که پوچ پذیری نوع برگشتی توسطget()
با nullability نوع عمومی مطابقت دارد. ( I21e9c ) -
androidx.core.util.Function
در Kotlin بازنویسی شده است و اطمینان حاصل می شود که پوچ بودن ورودی و خروجی تابع با انواع عمومی استفاده شده مطابقت دارد. ( I09dd7 )
مشارکت خارجی
- با تشکر از کمال فرج برای افزودن
AlarmManagerCompat.canScheduleExactAlarms
API ( I62e95 , b/315440583 )
نسخه 1.13.0-alpha03
10 ژانویه 2024
androidx.core:core:1.13.0-alpha03
، androidx.core:core-ktx:1.13.0-alpha03
و androidx.core:core-testing:1.13.0-alpha03
منتشر شدند. نسخه 1.13.0-alpha03 حاوی این commit ها است.
تغییرات API
-
ListViewCompat
منسوخ شده است، مستقیماً ازListView
استفاده کنید. ( Iacce6 , b/318353933 ) - APIهای
ViewCompat.LAYOUT_DIRECTION_
منسوخ شده است. ( I51710 , b/317055535 ) - روشهای منسوخ سازگار در
ViewCompat
منسوخ شده است. ( I0bfc2 , b/313834577 )
نسخه 1.13.0-alpha02
29 نوامبر 2023
androidx.core:core:1.13.0-alpha02
، androidx.core:core-ktx:1.13.0-alpha02
و androidx.core:core-testing:1.13.0-alpha02
منتشر شدند. نسخه 1.13.0-alpha02 حاوی این commit ها است.
ویژگی های جدید
- رابط
OnUserLeaveHintProvider
را اضافه می کند تا به هر مؤلفه ای اجازه دهد رویدادهایonUserLeaveHint
لازم برای اجرای تصویر در تصویر را دریافت کند. این توسطComponentActivity
در Activity1.9.0-alpha01
پیاده سازی شده است. ( I54892 )
تغییرات API
-
androidx.core.os.CancellationSignal
منسوخ شده است. موارد استفاده باید باandroid.os.CancellationSignal
ارائه شده توسط پلتفرم جایگزین شوند. ( Id45f6 , b/309499026 , b/309054079 ) - واسطهای
OnMultiWindowModeChangedProvider
،OnNewIntentProvider
،OnPictureInPictureModeChangedProvider
،OnConfigurationChangedProvider
، وOnTrimMemoryProvider
به Kotlin تبدیل شدهاند تا اطمینان حاصل شود که پارامترهای عمومی، همه متدهایConsumer
صحیح هستند که همه متدهای listener صحیح هستند. غیر پوچ). ( Ib6237 ) - کلاس های
MultiWindowModeChangedInfo
وPictureInPictureModeChangedInfo
که بهConsumer
ارسال می شوند و به رابط های ارائه دهنده مربوطه خود اضافه می شوند، اکنون در Kotlin نوشته شده اند. ( Ie08e2 )
به روز رسانی وابستگی
- Core اکنون به Lifecycle
2.6.2
بستگی دارد. ( I2d94c )
نسخه 1.13.0-alpha01
18 اکتبر 2023
androidx.core:core:1.13.0-alpha01
، androidx.core:core-ktx:1.13.0-alpha01
و androidx.core:core-testing:1.13.0-alpha01
منتشر شدند. نسخه 1.13.0-alpha01 حاوی این commit ها است.
تغییرات API
-
PathParser
عمومی کنید. کلاس می تواند یک نمونه Path از رشته های مسیر SVG ایجاد کند. ( Ic7af2 , b/302376846 ) - روش سازگار برای
Context.createAttributionContext
اضافه شد. ( I61dcf ، Ibe187 ) -
NotificationCompatSideChannelService
به عنوان منسوخ علامت گذاری می کند. ( I18fd9 ) - API جدید برای پرت کردن حرکت دیفرانسیل. ( I46b0d , Ia9f68 )
- APIهای سازگار اضافی برای
VelocityTracker
برای ردیابی SDK پلت فرم. ( I32753 )
رفع اشکال
- نادیده گرفتن
equals
و روشهایhashCode
به صورتPerson
. ( I610a5 )
نسخه Core و Core-ktx 1.12
نسخه 1.12.0
6 سپتامبر 2023
androidx.core:core:1.12.0
، androidx.core:core-ktx:1.12.0
و androidx.core:core-testing:1.12.0
منتشر شدند. نسخه 1.12.0 حاوی این commit ها است.
تغییرات مهم از 1.11.0
- بسیاری از روشهای سازگار برای برابری SDK 34 با TextView، AccessibilityNodeInfo و غیره اضافه شدهاند.
- API های
LocalePreferences
جدید برای کمک به توسعه دهندگان برای دسترسی آسان به داده های محلی یا تنظیمات برگزیده محلی کاربر. -
app.BundleCompat
منسوخ شده به نفعos.BundleCompat
. -
BuildCompat.isAtLeastU()
منسوخ شده است. به جای آن ازSDK_INT >= 34
استفاده کنید.
نسخه 1.12.0-rc01
9 آگوست 2023
androidx.core:core:1.12.0-rc01
، androidx.core:core-ktx:1.12.0-rc01
و androidx.core:core-testing:1.12.0-rc01
بدون تغییر عمده منتشر شده اند. نسخه 1.12.0-rc01 حاوی این commit ها است.
نسخه 1.12.0-beta01
26 جولای 2023
androidx.core:core:1.12.0-beta01
، androidx.core:core-ktx:1.12.0-beta01
و androidx.core:core-testing:1.12.0-beta01
منتشر شدند. نسخه 1.12.0-beta01 حاوی این تعهدات است.
تغییرات API
- افزودن
setLineHeight(unit, lineHeight)
به کلاسهای سازگارTextView
( Ia9fa9 ) -
TypedValueCompat.getUnitFromComplexDimension()
از Android 14 ( I958e8 ) اضافه شد - افزودن
setLineHeight(unit, lineHeight)
به کلاسهای سازگارTextView
( Ib2ee1 ) - APIهای دسترسی متفرقه پشتیبان ( Ic65ba )
- روشهای
AccessibilityNodeInfo
API 34 Backport ( I44182 ) - SDK پایدار فارغ التحصیلان آزمایشی را بررسی می کند ( Ia9b35 )
- APIهای 34
AccessiiblityWindowInfo
Backport ( I96a5d ) -
BuildCompat.isAtLeastU()
منسوخ شده است. به جای آن ازSDK_INT >= 34
استفاده کنید. ( I4f8e7 , b/289269026 ) - کاربردهای حذف شده آزمایشی
isAtLeastU()
API ( Ie9117 , b/289269026 ) -
BuildCompat
به Kotlin برای برچسب منسوخ بهبودیافته منتقل شد ( I56775 , b/289269026 ) - افزودن
setLineHeight(unit, lineHeight)
به کلاسهای سازگارTextView
( I15716 ) - ویژگی سازگار
accessibilityDataSensitive
جدید. ( I0c6e0 ) -
PendingIntentCompat.getActivity
وgetService
ممکن است زمانی کهFLAG_NO_CREATE
مشخص شده باشد، null برگردانند. ( Iffdf0 , b/289696515 ) - فایل های API به روز شده برای حاشیه نویسی حذف سازگاری ( I8e87a , b/287516207 )
-
PendingIntentCompat.send()
اضافه شد ( Iaf707 ) - نسخه های سازگار
Location.removeVerticalAccuracy()
،Location.removeSpeedAccuracy()
وLocation.removeBearingAccuracy()
را اضافه می کند. ( I5b640 )
رفع اشکال
- Made a view important for accessibility if the view has an accessibility delegate. ( If2b54 )
Version 1.12.0-alpha05
7 ژوئن 2023
androidx.core:core:1.12.0-alpha05
, androidx.core:core-ktx:1.12.0-alpha05
, and androidx.core:core-testing:1.12.0-alpha05
are released. This version is developed in an internal branch.
رفع اشکال
- Updated the documentation on the
ColorUtils
classes for generating a color from the Material 3 Hue, Chroma, and Tone (M3HCT) parameters. ( I32979 , I21c8c ) - Fix deprecation replaceWith for
android.os.Trace
( I730f9 )
Version 1.12.0-alpha04
10 مه 2023
androidx.core:core:1.12.0-alpha04
, androidx.core:core-ktx:1.12.0-alpha04
, and androidx.core:core-testing:1.12.0-alpha04
are released. This was released from an internal branch.
Version 1.12.0-alpha03
12 آوریل 2023
androidx.core:core:1.12.0-alpha03
, androidx.core:core-ktx:1.12.0-alpha03
, and androidx.core:core-testing:1.12.0-alpha03
are released. This was released from an internal branch.
تغییرات API
- Unhides
NotificationCompat.TvExtender
(aosp/01c67677e9310b2cf4c536d7e951e117d6cce64a) - Added public methods to access M3HCT parameters and turn M3HCT values into ARGB (aosp/06810598aa94bee731bbe0d277933b8b9614934e)
- Added
NotificationManager.getCurrentInterruptionFilter
(aosp/b0c6940639e35371d212a7ebd7dbf01c14fc7710) - Added
getCurrentInterruptionFilter
toNotifManagerCompat
(aosp/516143e05f824ff49bde3c0c97344a2924867d30) - Deprecated
app.BundleCompat
in favor ofos.BundleCompat
(aosp/bf6169fe9ee1113065d0cf380bd2e09f31ce0a40) - Added
TestConsumer
so developers can record values in a test. (aosp/f75a4913940e710842168c832a7f57c2dcae4fdf) - Added
TestConsumer
so developers can record values in a test.(aosp/67ad4e2c6488772b7c9a061ee6ca01bba23649f7)
رفع اشکال
- Fixed a bug where
unregisterGnssMeasurementsCallback()
does not work properly below Android R. (aosp/c5a97c4ee956f87d229ec892f2b8849f392e956c)
Version 1.12.0-alpha01
8 مارس 2023
androidx.core:core:1.12.0-alpha01
and androidx.core:core-ktx:1.12.0-alpha01
are released. Version 1.12.0-alpha01 contains these commits.
ویژگی های جدید
- Provides APIs to help developers to easily access user's preference or the locale data in ICU. The accessible locale data includes hour cycle, calendar type, temperature unit, and first day of week.
تغییرات API
- Added new APIs
LocalePreferences
to help developers to easily access locale data or user's locale preferences.
Core and Core-ktx Version 1.11
Version 1.11.0-beta02
7 ژوئن 2023
androidx.core:core:1.11.0-beta02
, androidx.core:core-ktx:1.11.0-beta02
, and androidx.core:core-testing:1.11.0-beta02
are released. Version 1.11.0-beta02 contains these commits.
رفع اشکال
- Updated the documentation on the
ColorUtils
classes for generating a color from the Material 3 Hue, Chroma, and Tone (M3HCT) parameters. ( I32979 , I21c8c ) - Fix deprecation replaceWith for
android.os.Trace
( I730f9 )
Version 1.11.0-beta01
24 مه 2023
androidx.core:core:1.11.0-beta01
, androidx.core:core-ktx:1.11.0-beta01
, and androidx.core:core-testing:1.11.0-beta01
are released. Version 1.11.0-beta01 contains these commits.
تغییرات API
- Add
ViewCompat
support to methodperformHapticFeedback
( Ib02c6 ) - Change
getDisplay
to#getDisplayOrDefault
( I96ff9 ) - Add
ContextCompat#getDisplay(Context)
( I7011f , b/178183326 ) - Add
ContextCompat#getContextForLanguage(Context)
for getting per-app locales in non-Activity context ( I58e75 , b/243457462 )
رفع اشکال
- Clarify
CollectionInfoCompat
docs, especiallyisHierarchical
( I14f6c )
Version 1.11.0-alpha04
10 مه 2023
androidx.core:core:1.11.0-alpha04
, androidx.core:core-ktx:1.11.0-alpha04
, and androidx.core:core-testing:1.11.0-alpha04
are released. Version 1.11.0-alpha04 contains these commits.
تغییرات API
- Added
LinkMovementMethodCompat
that fixes link touch handling ( Ia632c ) -
PendingIntent.getBroadcast()
is now correctly marked@Nullable
( Ifff96 , b/277630907 )
رفع اشکال
- Fixed Context leak in
DisplayManagerCompat
( I3409b , b/279625765 ) - Added a
SoftwareKeyboardControllerCompat
to provide direct methods to show and hide the software keyboard given a View. This backports workarounds for known issues when using theWindowInsetsController
APIs on some API levels, and is the extraction of the backing implementation forWindowInsetsControllerCompat.show
and hide for the IME inset types. ( Idd0a3 )
Version 1.11.0-alpha03
19 آوریل 2023
androidx.core:core:1.11.0-alpha03
, androidx.core:core-ktx:1.11.0-alpha03
, and androidx.core:core-testing:1.11.0-alpha03
are released. Version 1.11.0-alpha03 contains these commits.
تغییرات API
- Update
BuildCompat
in preparation for Android 14 Beta 2 ( Idc1b1 , b/276491001 ) - Unhides
NotificationCompat.TvExtender
( Ibe13a ) - Add public methods to access M3HCT parameters and turn M3HCT values into ARGB ( Id7e9d )
Version 1.11.0-alpha02
5 آوریل 2023
androidx.core:core:1.11.0-alpha02
, androidx.core:core-ktx:1.11.0-alpha02
, and androidx.core:core-testing:1.11.0-alpha02
are released. Version 1.11.0-alpha02 contains these commits.
تغییرات API
- Adds
getCurrentInterruptionFilter
toNotifManagerCompat
( I8ec95 , b/243183646 ) - Deprecate
app.BundleCompat
in favor ofos.BundleCompat
( Idc3a2 , b/274577000 ) - Add
TestConsumer
so developers can record values in a test. ( I937c1 )
رفع اشکال
- Fix a bug where
unregisterGnssMeasurementsCallback()
does not work properly below Android R. ( Id1999 )
Version 1.11.0-alpha01
22 مارس 2023
androidx.core:core:1.11.0-alpha01
and androidx.core:core-ktx:1.11.0-alpha01
are released. Version 1.11.0-alpha01 contains these commits.
تغییرات API
- In Android U, the
ContentProvider
API ofgetType
requires that the caller hold the correct read permission.FileProvider
now provides a defaultgetTypeAnonymous
implementation, which is the unrestricted version. ( I4773f ) - Added compat classes for content capture APIs ( I09366 )
- Added
NotifCompat.Builder.setLargeIcon(Icon)
( Ic0a5b ) - Adds a batch notification API to
NotificationManagerCompat
. Users are encouraged to use this API when posting multiple notifications. ( I2cd7f ) - Added
registerGnssMeasurementsCallback()
with Executor support on pre-R platforms ( I579f8 )
Core and Core-ktx Version 1.10
Version 1.10.1
10 مه 2023
androidx.core:core:1.10.1
and androidx.core:core-ktx:1.10.1
are released. Version 1.10.1 contains these commits.
مشارکت خارجی
- Fix
BadParcelableException
being thrown for result being null b/277434277 , b/278118318 contributed by Mygod Studio
Version 1.10.0
5 آوریل 2023
androidx.core:core:1.10.0
and androidx.core:core-ktx:1.10.0
are released. Version 1.10.0 contains these commits.
Important changes since 1.9.0
- Deprecated recycling of accessibility objects. We've found performance changes to be negligible for even the oldest supported OS versions. ( I0a961 )
- Added
BuildCompat
constants for SDK extension versions. ( I6084c ) - See release notes for pre-release versions of 1.10.0 for new APIs and bug fixes.
Version 1.10.0-rc01
8 مارس 2023
androidx.core:core:1.10.0-rc01
and androidx.core:core-ktx:1.10.0-rc01
are released with no changes from the previous beta.
Version 1.10.0-beta01
22 فوریه 2023
androidx.core:core:1.10.0-beta01
and androidx.core:core-ktx:1.10.0-beta01
are released. Version 1.10.0-beta01 contains these commits.
تغییرات API
- The
AccessibilityNodeInfoCompat
APIs ofset/getMinMillisBetweteenContentChanges
have been renamed toset/getMinDurationBetweenContentChanges
and now take along
for their duration. ( f46689 ) - Added
NotificationCompat.bigLargeIcon(Icon)
( I60855 )
رفع اشکال
- Fix docs regarding default value of
NotificationCompat.Builder.setShowWhen()
( ba52a2 ) - Fix typo in
AccelerateInterpolator / DecelerateInterpolator
docs ( 2173505 ) - Fix typo in
ShortcutInfoCompat
docs ( 44075f ) - Fix up, down, spacebar and key variation keyboard actions with
NestedScrollView
andCoordinatorLayout
( bdd72e )
Version 1.10.0-alpha02
25 ژانویه 2023
androidx.core:core:1.10.0-alpha02
and androidx.core:core-ktx:1.10.0-alpha02
are released. Version 1.10.0-alpha02 contains these commits.
تغییرات API
- Added
BuildCompat
constant forAD_SERVICES
extension version ( I51d98 ) - Add
BEHAVIOR_DEFAULT
toWindowInsetsControllerCompat
.BEHAVIOR_SHOW_BARS_BY_SWIPE
andBEHAVIOR_SHOW_BARS_BY_TOUCH
are deprecated. ( I17b61 )
Version 1.10.0-alpha01
11 ژانویه 2023
androidx.core:core:1.10.0-alpha01
and androidx.core:core-ktx:1.10.0-alpha01
are released. Version 1.10.0-alpha01 contains these commits.
تغییرات API
- Adds
CallStyle
toNotificationCompat
( Id9a53 , b/199294989 ) - Added
BuildCompat
constants for SDK extension versions ( I6084c ) - Add APIs for setting initial focus on accessibility node. ( Id199a )
- Add new APIs for content change rate limiting ( If4ea0 )
- Adds compatibility methods for new APIs introduced in Android 13 for Parcels, Bundles, and Intents. Some
ParcelCompat
method signatures have been updated, and may require a source change on upgrade to confirm to the new signature. ( I57e94 , b/242048899 ) - Deprecating recycling of accessibility objects. We've found performance changes to be negligible in even the oldest supported versions. ( I0a961 )
- Updated return type nullability of deprecated-hidden functions ( Ibf7b0 )
- Added times/div operator overloads for Point and PointF ( I8e557 , b/261574780 )
رفع اشکال
- Add to
AccessibilityEvent#TYPE_ANNOUNCEMENT
with suggestion to avoid using it. ( I818bf ) - Specify lists should have 1 row or 1 column for accessibility ( Ia1223 )
Core and Core-ktx Version 1.9.0
Version 1.9.0
7 سپتامبر 2022
androidx.core:core:1.9.0
and androidx.core:core-ktx:1.9.0
are released. Version 1.9.0 contains these commits.
Important changes since 1.8.0
- Updated to improve compatibility with Android 13, including nullability changes and parity with framework APIs
- Added
IntentSanitizer
to sanitize unsafe intents before launching them. ( Ib0be5 ) - Adds support for
BigPictureStyle
usingIcon
( Ice26d ) - Added
@RequiresPermission
to APIs that require granting thePOST_NOTIFICATIONS
permission on SDK 33 and above. ( Ie542e ) - Improved parity between Android 13 accessibility framework APIs and compat APIs ( I93c97 , I5a074 , Iedf82 )
Version 1.9.0-rc01
24 آگوست 2022
androidx.core:core:1.9.0-rc01
and androidx.core:core-ktx:1.9.0-rc01
are released. Version 1.9.0-rc01 contains these commits.
رفع اشکال
-
IntentSanitizer.sanitizeByFiltering
no longer writes to the log when filtering ( 69b3b55 )
Version 1.9.0-beta01
10 آگوست 2022
androidx.core:core:1.9.0-beta01
is released. Version 1.9.0-beta01 contains these commits.
تغییرات API
- Added compatibility for
ACTION_SHOW_TEXT_SUGGESTIONS
andis/setTextSelectable
( Iedf82 ) - Added
IntentSanitizer
to sanitize unsafe intents before launching them. ( Ib0be5 ) - Adds support for
BigPictureStyle
using Icon ( Ice26d , b/215583339 ) - Updated nullability annotations ( I34cce , b/236498052 , b/236498029 , b/236497996 , b/236497942 , b/236497884 , b/236497726 )
- Added
LocationManagerCompat.registerGnssMeasurementsCallback
to work around Android R bugs. ( Ie0f6f )
رفع اشکال
- Added
@RequiresPermission
to APIs that require granting thePOST_NOTIFICATIONS
permission on SDK 33 and above. ( Ie542e , b/238790278 ) - Adding support for API introduced in T." into androidx-platform-dev" ( )
- Adding support for API introduced in T. ( I358f1 )
-
TypefaceCompate.create(..., weight, italic)
will fallback to platformTypeface.create
when compat impl cannot resolve on API 14-20 ( I1ee34 , b/145311058 ) - Added accessibility framework constants previously absent from androidx." into androidx-main am: d5747be010" ( I5a074 )
- Added accessibility framework constants previously absent from androidx. ( I93c97 )
مشارکت خارجی
- Backported
Typeface#create(Typeface, int, boolean)
which allows creating typeface with specific weight from a font family ( I342dc )
Version 1.9.0-alpha05
15 ژوئن 2022
androidx.core:core:1.9.0-alpha05
and androidx.core:core-ktx:1.9.0-alpha05
are released. Version 1.9.0-alpha05 was developed in a private pre-release branch and has no public commits.
تغییرات API
- Nullability updates to align with finalized API surface in Tiramisu Beta 3 SDK
-
minCompileSdk
is now 33 to align with Tiramisu Beta 3 SDK
Version 1.9.0-alpha04
18 مه 2022
androidx.core:core:1.9.0-alpha04
and androidx.core:core-ktx:1.9.0-alpha04
are released. Version 1.9.0-alpha04 is built against a pre-release Android SDK and does not have a publicly-available commit history.
رفع اشکال
- Revert deprecation of
BuildCompat.isAtLeastT()
and accompanyingSDK_INT
checks
Version 1.9.0-alpha03
27 آوریل 2022
androidx.core:core:1.9.0-alpha03
and androidx.core:core-ktx:1.9.0-alpha03
are released. Version 1.9.0-alpha04 contains all commits from 1.8.0-beta01 , but has been built against Android 13 Beta 1.
This version requires Android 13 Beta 1 to compile and is not guaranteed to be runtime-compatible with future developer previews.
Version 1.9.0-alpha02
23 مارس 2022
androidx.core:core:1.9.0-alpha02
and androidx.core:core-ktx:1.9.0-alpha02
are released. Version 1.9.0-alpha02 contains all commits from 1.8.0-alpha06, but has been built against Tiramisu DP2.
Version 1.9.0-alpha01
23 فوریه 2022
androidx.core:core:1.9.0-alpha01
and androidx.core:core-ktx:1.9.0-alpha01
are released. Version 1.9.0-alpha01 was built from an internal branch and does not have publicly-visible commits.
This version requires Android Tiramisu DP1 to compile and is not guaranteed to be runtime-compatible with future developer previews.
ویژگی های جدید
- Compatible with Android Tiramisu DP1.
Core and Core-ktx Version 1.8.0
Version 1.8.0
1 ژوئن 2022
androidx.core:core:1.8.0
and androidx.core:core-ktx:1.8.0
are released. Version 1.8.0 contains these commits.
Important changes since 1.7.0
- Significant clean-up of nullability annotations to improve Kotlin usability
- Platform parity improvements to
ShortcutInfoCompat
,NotificationCompat
, and more - New interfaces to allow components to receive picture-in-picture and multi-window mode change events, implemented by
ComponentActivity
in Activity library - Improvements to
MenuProvider
callback methods, includingonPrepareMenu
andonMenuClosed
- Fixed issue where
FileProvider
would fail withIllegalArgumentException
on certain devices - Fixed issue where
TypefaceCompat
applied incorrect typeface weight on API 29+ ( b/194553426 ) thanks to contribution from RikkaW
Version 1.8.0-rc02
18 مه 2022
androidx.core:core:1.8.0-rc02
and androidx.core:core-ktx:1.8.0-rc02
are released. Version 1.8.0-rc02 contains these commits.
رفع اشکال
- Cast
OnSharedElementsReadyListener
to fully-qualified platform class to preventClassCastException
( 0029fed )
Version 1.8.0-rc01
11 مه 2022
androidx.core:core:1.8.0-rc01
and androidx.core:core-ktx:1.8.0-rc01
are released. Version 1.8.0-rc01 contains these commits.
تغییرات API
- Added
BuildCompat
check for next pre-release cycle ( If5a8f , b/229859122 ) - Updated
BuildCompat.isAtLeastT()
for finalized SDK_INT value. ( Iffae0 )
Version 1.8.0-beta01
20 آوریل 2022
androidx.core:core:1.8.0-beta01
and androidx.core:core-ktx:1.8.0-beta01
are released with no changes since 1.8.0-alpha07. Version 1.8.0-beta01 contains these commits.
Version 1.8.0-alpha07
6 آوریل 2022
androidx.core:core:1.8.0-alpha07
and androidx.core:core-ktx:1.8.0-alpha07
are released. Version 1.8.0-alpha07 contains these commits.
رفع اشکال
-
TypefaceCompat
will now respect both requested and loaded style information on API 29+. This is a behavior change when the loaded fonts are notFontWeight.Normal
orFontWeight.Bold
, as the actual loaded weight and style will be used. ( #212 , b/194553426 )
مشارکت خارجی
Version 1.8.0-alpha06
23 مارس 2022
androidx.core:core:1.8.0-alpha06
is released. Version 1.8.0-alpha06 contains these commits.
تغییرات API
- The
MenuProvider
interface now includes theonPrepareMenu()
callback, which is called when a menu is dynamically modified and should be shown. ( Ie85f9 ) - The
MenuProvider
interface now includes theonMenuClosed()
method to be used whenever a menu should be closed. ( If5a16 ) - Updated
IconCompat#getResId
to have the proper resource annotation type to match the corresponding method in the framework inIcon#getResId
( I49700 ) - Reverted previous change of relying solely on a View for
WindowInsetsControllerCompat
, and again require a Window which is required for managing some window flags. DeprecatedViewCompat.getWindowInsetsController
in favor ofWindowCompat.getInsetsController
to ensure that the correct Window is used (such as if the View is in a dialog). ( I660ae , b/219572936 ) - Updated nullability in core and appcompat to match Tiramisu DP2 ( I0cbb7 )
- Adds a method to
BitmapCompat
for smoother downscaling of bitmaps. ( Ib706c ) - Added nullability annotations to
ActivityCompat.requestDragAndDropPermissions
( I0f2b0 , b/206113378 ) - Added a work-around to
FileProvider
for OEMs stripping meta-data from manifests. ( I82f63 )
رفع اشکال
- Consider parent visibility changes for a11y pane visibility status for <P ( I8e04f )
Version 1.8.0-alpha05
23 فوریه 2022
androidx.core:core:1.8.0-alpha05
and androidx.core:core-ktx:1.8.0-alpha05
are released. Version 1.8.0-alpha05 contains these commits.
تغییرات API
- Updated nullability for androidx.core.os classes ( If18cd , b/206113622 )
- Updated nullability for androidx.core.app classes ( I657eb , b/206113302 )
- Updated nullability for androidx.core.text classes ( I08329 , b/206113384 )
- Added
ExtraData
functions toAccessibilityNodeInfoCompat
( If2fc7 , b/137789185 ) - Added zero-arg overload for
bundleOf()
to avoid an invisible array allocation when creating an empty bundle ( If7089 ) - Added
Continuation<T>.asFoo()
adapters to create callbacks for writing suspend wrappers for Android APIs that accept common/generic callback types ( I6615e ) - Added nullable
Drawable.toBitmapOrNull
method to avoid exceptions ( I2342a )
Version 1.8.0-alpha04
9 فوریه 2022
androidx.core:core:1.8.0-alpha04
and androidx.core:core-ktx:1.8.0-alpha04
are released. Version 1.8.0-alpha04 contains these commits.
تغییرات API
- Adds the
OnPictureInPictureModeChangedProvider
interface to allow any component to receive picture-in-picture mode change events. This is implemented byComponentActivity
in Activity1.5.0-alpha02
. ( I9f567 ) - Adds the
OnMultiWindowModeChangedProvider
interface to allow any component to receive multi-window mode change events. This is implemented byComponentActivity
in Activity1.5.0-alpha02
. ( I62d91 ) - Cleaned up nullability for a subset of androidx.core APIs. ( Ia0e2f , b/206113818 )
Version 1.8.0-alpha03
26 ژانویه 2022
androidx.core:core:1.8.0-alpha03
and androidx.core:core-ktx:1.8.0-alpha03
are released. Version 1.8.0-alpha03 contains these commits.
تغییرات API
- Converted
WindowInsetsControllerCompat
to depend on a View instead of a Window or the platformWindowInsetsController
. This improves behavior with Dialogs, showing the IME, and ensures the non-deprecated creation methods workaround ( b/180881870 ). ( I29264 , b/207401542 , b/210121779 ) - Cleaned up nullability for a subset of androidx.core APIs. ( Ib2583 , b/206113818 )
- Fixed nullability of
performAccessibilityAction
params ( Ibbafe ) - Added method for working around
ColorStateList
issues resulting from Theme-keyed caching and Theme.applyStyle ( I9188b , b/207739887 ) - Update shortcut visibility api for better readability ( Ia58df )
- Added zero-arg overload for
persistableBundleOf()
to avoid an unnecessary array allocation when creating an empty PersistableBundle ( Icd7a4 )
Version 1.8.0-alpha02
15 دسامبر 2021
androidx.core:core:1.8.0-alpha02
and androidx.core:core-ktx:1.8.0-alpha02
are released. Version 1.8.0-alpha02 contains these commits.
تغییرات API
- Adds experimental
BuildCompat
methods for future SDKs ( Iafd82 , b/207528937 ) - Add utility methods to convert document into shortcut and vice versa. ( Id512c )
- Update visibility api for shortcut for better readability ( I86dec )
- Adds the
OnNewIntentProvider
,OnConfigurationChangedProvider
, andonTrimMemoryProvider
interfaces that can be used to denote that your custom activity can dispatch these events to any component that adds a listener. ( If1f8b , If623b , Ia9295 )
Version 1.8.0-alpha01
1 دسامبر 2021
androidx.core:core:1.8.0-alpha01
and androidx.core:core-ktx:1.8.0-alpha01
are released. Version 1.8.0-alpha01 contains these commits.
تغییرات API
- Significant clean-up of nullability annotations
- Added a new API
ShortcutInfoCompat.Builder#setHiddenFromLauncher
to determine whether the shortcut should be hidden from the launcher. ( Ia2a71 ) - Add
NotificationCompat.Action#setAuthenticationRequired
( Ieeafa , b/202172887 ) - Add
NotificationCompat.BigPictureStyle.setContentDescription
( I3b483 ) - Added extension function
Map<String, Any?>.toPersistableBundle()
( I82c86 )
رفع اشکال
- Adjusts the scroll distance for accessibility action ( If74ae )
- Removed hardcoded language code in Javadocs ( Ie5d68 )
Core and Core-ktx Version 1.7
نسخه 1.7.0
27 اکتبر 2021
androidx.core:core:1.7.0
and androidx.core:core-ktx:1.7.0
are released. Version 1.7.0 contains these commits.
Important changes since 1.6.0
- Adds support for interacting with SDK 30 and later's permission revocation and app hibernation features, with backporting down to SDK 23 on supported devices. See IntentCompat.createManageUnusedAppRestrictionsIntent for more information.
- Adds support for composing menu support in components, see MenuProvider for more information.
Version 1.7.0-rc01
13 اکتبر 2021
androidx.core:core:1.7.0-rc01
and androidx.core:core-ktx:1.7.0-rc01
are released. Version 1.7.0-rc01 contains these commits.
Version 1.7.0-beta02
29 سپتامبر 2021
androidx.core:core:1.7.0-beta02
and androidx.core:core-ktx:1.7.0-beta02
released. Version 1.7.0-beta02 contains these commits.
رفع اشکال
-
MenuHostHelper
will now properly remove all LifecycleObservers when aMenuProvider
is removed prior to the Lifecycle beingDESTROYED
. ( Ibe2e1 , b/199788262 ) - Update the descriptions of the Unused App Restrictions Constants to be clearer for developers ( I2858e )
Version 1.7.0-beta01
15 سپتامبر 2021
androidx.core:core:1.7.0-beta01
and androidx.core:core-ktx:1.7.0-beta01
are released. Version 1.7.0-beta01 contains these commits.
تغییرات API
-
LocationRequestCompat.toProvider
can now return null ( Ib5a09 )
Version 1.7.0-alpha02
1 سپتامبر 2021
androidx.core:core:1.7.0-alpha02
and androidx.core:core-ktx:1.7.0-alpha02
are released. Version 1.7.0-alpha02 contains these commits.
ویژگی های جدید
- Streamlining and unification of how lifecycle-aware menus are managed, see MenuProvider for more details.
تغییرات API
- Added
MenuHost
interface for components that manageMenuProvider
s. ( I83f23 ) - Added
MenuProvider
interface that can be used to indicate that a component is supplying menu items. ( If8a40 ) - Added
MenuHostHelper
to simplify implementingMenuHost
in a component. ( I74f4a ) - Added
LocationRequestCompat.toLocationRequest()
for converting to platform class. ( I71e75 ) - Added
DocumentsContractCompat
class for parity with platform APIs. ( Ia9e91 ) - Added
NotificationCompat.BigPictureStyle.showBigPictureWhenCollapsed(boolean)
for parity with platform APIs. ( I8cd88 ) - Fixed an issue where
checkSelfPermission
fromPermissionChecker
would show mic/cam indicators. ( I572a9 ) - Added explicit threading annotation for
setImportantForAccessibility
. ( I990fa ) - Updated
getUnusedAppRestrictionsStatus
to conform to API guidelines. ( I28a18 ) - Completed functionality for
getUnusedAppRestrictionsStatus
. ( I7c2d6 ) - Added support to
LocationCompat
for vertical accuracy, speed accuracy, and bearing accuracy. ( I1d3e9 ) - Added math compat functions to
MathUtils
. ( Idb590 ) - Integrated
OnReceiveContentListener
into compat APIs. ( Ic6914 , b/173814913 ) - Added
ActivityCompat#isLaunchedFromBubble
for platform parity. ( I6961a ) - Added
LocationRequest
andLocationManager.hasProvider()
for platform parity. ( I4f3e4 )
رفع اشکال
- Removed the use of lambdas in
PackageManagerCompat
to avoidLambdaDesugaring
bug. ( I36c87 )
Version 1.7.0-alpha01
30 ژوئن 2021
androidx.core:core:1.7.0-alpha01
and androidx.core:core-ktx:1.7.0-alpha01
are released. Version 1.7.0-alpha01 contains these commits.
تغییرات API
- Added an API to configure an InputConnection to use
View.performReceiveContent
to handle IME calls toInputConnection.commitContent
. ( I3a2ad ) - Combined two APIs' functionality into one ( I261df )
- Modified two APIs' functionality for use with unused app restriction features (eg permission revocation, app hibernation) ( Ic1616 )
- Added three APIs for use with unused app restriction features (eg permission revocation, app hibernation) ( I606d7 )
- Added nullability annotations to several Compat classes ( I2802a , b/188452327 , b/189962089 )
- Added three APIs for use with unused app restriction features (eg permission revocation, app hibernation) ( Icafee )
- Addressed missing nullability annotation issues in ViewCompat ( Ic346e , b/188453571 )
Core Remote Views Version 1.1
نسخه 1.1.0
12 ژوئن 2024
androidx.core:core-remoteviews:1.1.0
is released. Version 1.1.0 contains these commits .
Important changes since 1.0.0
- Core
RemoteViews
moves to 1.1.0 stable.
Version 1.1.0-rc01
14 مه 2024
androidx.core:core-remoteviews:1.1.0-rc01
is released. Version 1.1.0-rc01 contains these commits .
ویژگی های جدید
- Move
RemoteViews
1.1.0 to Release Candidate.
رفع اشکال
- Move to 21 as the default
minSdkVersion
of androidx libraries. ( I6ec7f )
Version 1.1.0-beta02
17 آوریل 2024
androidx.core:core-remoteviews:1.1.0-beta02
is released. No major changes since the last release.
Version 1.1.0-beta01
3 آوریل 2024
androidx.core:core-remoteviews:1.1.0-beta01
is released. Version 1.1.0-beta01 contains these commits .
Version 1.1.0-alpha01
7 فوریه 2024
androidx.core:core-remoteviews:1.1.0-alpha01
is released. Version 1.1.0-alpha01 contains these commits.
ویژگی های جدید
- Version bump to match dependency versions.
Core Remote Views Version 1.0
نسخه 1.0.0
6 سپتامبر 2023
androidx.core:core-remoteviews:1.0.0
is released. Version 1.0.0 contains these commits.
Major features of 1.0.0
- Move core-remoteviews to stable version 1.0.0
Version 1.0.0-beta04
10 مه 2023
androidx.core:core-remoteviews:1.0.0-beta04
is released. Version 1.0.0-beta04 contains these commits.
رفع اشکال
- Fixes
ArrayOutOfBoundsException
being thrown in corner cases in compat library.
Version 1.0.0-beta03
5 اکتبر 2022
androidx.core:core-remoteviews:1.0.0-beta03
is released. Version 1.0.0-beta03 contains these commits.
ویژگی های جدید
- No new features were added.
Version 1.0.0-beta02
10 آگوست 2022
androidx.core:core-remoteviews:1.0.0-beta02
is released. Version 1.0.0-beta02 contains these commits.
رفع اشکال
- Version fix
Version 1.0.0-beta01
29 ژوئن 2022
androidx.core:core-remoteviews:1.0.0-beta01
is released. Version 1.0.0-beta01 contains these commits.
ویژگی های جدید
- Moves
Core-RemoteViews
to beta.
نسخه 1.0.0-alpha03
23 فوریه 2022
androidx.core:core-remoteviews:1.0.0-alpha03
is released. Version 1.0.0-alpha03 contains these commits.
رفع اشکال
- Fix for infrastructure.
نسخه 1.0.0-alpha02
26 ژانویه 2022
androidx.core:core-remoteviews:1.0.0-alpha02
is released. Version 1.0.0-alpha02 contains these commits.
نسخه 1.0.0-alpha01
15 دسامبر 2021
androidx.core:core-remoteviews:1.0.0-alpha01
is released. Version 1.0.0-alpha01 contains these commits.
ویژگی های جدید
- Backport of the new
RemoteViews.setRemoteAdapter
API. - Kotlin Extension functions to avoid reflection when calling
RemoteViews
methods. - Library with helper functions for working with
App Widget
sizing APIs.
Core Performance Version 1.0
نسخه 1.0.0
10 ژانویه 2024
androidx.core:core-performance:1.0.0
, androidx.core:core-performance-play-services:1.0.0
, and androidx.core:core-performance-testing:1.0.0
are released. Version 1.0.0 contains these commits.
Major features of 1.0.0
- Core Performance - Provides a reliable mechanism for developers to identify the device's level of performance at runtime to help optimize an app's user experience accordingly.
- Core Performance Play Services - Google-specific implementation providing up-to-date media performance class information for tested devices and OS versions.
- Core Performance Testing - Test doubles for Core Performance.
رفع اشکال
- Fixed a crash when initializing
PlayServicesDevicePerformance
found in version1.0.0-beta2
. ( b/318803680 )
Version 1.0.0-rc01
13 دسامبر 2023
androidx.core:core-performance:1.0.0-rc01
, androidx.core:core-performance-play-services:1.0.0-rc01
, and androidx.core:core-performance-testing:1.0.0-rc01
are released. Version 1.0.0-rc01 contains these commits.
ویژگی های جدید
- Core Performance - Updated library implementation. (
DevicePerformance
generic implementation). - Core Performance Play Services - Initial library implementation. (Google specific
DevicePerformance
implementation). - Core Performance Testing - Initial library implementation. (contains test doubles for Core Performance).
تغییرات API
- Initial RC release of
DevicePerformance
specific API.
Version 1.0.0-beta02
4 اکتبر 2023
androidx.core:core-performance:1.0.0-beta02
, androidx.core:core-performance-play-services:1.0.0-beta02
, and androidx.core:core-performance-testing:1.0.0-beta02
are released. Version 1.0.0-beta02 contains these commits.
ویژگی های جدید
- Test related refactoring.
تغییرات API
- Unchanged API usage pattern.
Version 1.0.0-beta01
6 سپتامبر 2023
androidx.core:core-performance:1.0.0-beta01
, androidx.core:core-performance-play-services:1.0.0-beta01
, and androidx.core:core-performance-testing:1.0.0-beta01
are released. Version 1.0.0-beta01 contains these commits.
ویژگی های جدید
- Core Performance - Updated library implementation. (
DevicePerformance
generic implementation). - Core Performance Play Services - Initial library implementation. (Google specific
DevicePerformance
implementation). - Core Performance Testing - Initial library implementation. (contains test doubles for Core Performance).
تغییرات API
- Initial beta release of
DevicePerformance
specific API.
نسخه 1.0.0-alpha03
23 آگوست 2023
androidx.core:core-performance:1.0.0-alpha03
, androidx.core:core-performance-play-services:1.0.0-alpha03
, and androidx.core:core-performance-testing:1.0.0-alpha03
are released. Version 1.0.0-alpha03 contains these commits.
ویژگی های جدید
- Initial library implementation of
core-performance-testing
, containing test doubles for core-performance. - Initial library implementation or
core-performance-play-services
. Google specific implementation provides up to date media performance class information.
تغییرات API
- Add optional module providing media performance class from Google Play Services.
- core-performance constructors changed to support optional implementation.
نسخه 1.0.0-alpha02
23 مارس 2022
androidx.core:core-performance:1.0.0-alpha02
is released. Version 1.0.0-alpha02 contains these commits.
ویژگی های جدید
- Provide an easy and reliable mechanism for developers to identify at runtime the device's level of performance in order to deliver an optimized app experience.
- This initial release uses a list of hand-tested devices that are granted performance class values higher than the level declared in Build.VERSION.MEDIA_PERFORMANCE_CLASS
نسخه 1.0.0-alpha01
15 دسامبر 2021
androidx.core:core-performance:1.0.0-alpha01
is released. Version 1.0.0-alpha01 contains these commits.
Core Splashscreen Version 1.2
Version 1.2.0-rc01
2 ژوئیه 2025
androidx.core:core-splashscreen:1.2.0-rc01
is released. Version 1.2.0-rc01 contains these commits .
Version 1.2.0-beta02
23 آوریل 2025
androidx.core:core-splashscreen:1.2.0-beta02
is released. Version 1.2.0-beta02 contains these commits .
Version 1.2.0-beta01
26 فوریه 2025
androidx.core:core-splashscreen:1.2.0-beta01
is released. Version 1.2.0-beta01 contains these commits .
Version 1.2.0-alpha02
4 سپتامبر 2024
androidx.core:core-splashscreen:1.2.0-alpha02
is released. Version 1.2.0-alpha02 contains these commits .
رفع اشکال
- Add
isLightTheme
attribute to themes ofSplashScreen
( I01000 , b/238522114 ) - Get splashscreen icon by
AppCompatResources
( Ib05e , b/289242141 , b/263972037 ) - Removed manual outlining of access to new platform APIs since this happens automatically via API modeling when using R8 with AGP 7.3 or later (eg R8 version 3.3) and for all builds when using AGP 8.1 or later (eg D8 version 8.1). Clients who are not using AGP are advised to update to D8 version 8.1 or later. See this article for more details. ( Ieb9ae , b/345472586 )
Version 1.2.0-alpha01
17 آوریل 2024
androidx.core:core-splashscreen:1.2.0-alpha01
is released. Version 1.2.0-alpha01 contains these commits .
رفع اشکال
- Change the cutout mode of
Base.Theme.SplashScreen
to always since v30.( Idfc3f ) - Reset
enforceNavigationBarContrast
to system default value from API 31, so the splash screen theme won't corrupt activity's theme. From API 31+, the splash screen isn't create asPhoneWindow
, so it's unnecessary to inherit the value from API 29. Also remove the override action fromapplyAppSystemUiTheme
, sinceenforceNavigationBarContrast
could already changed from app side during launch, override it from attribute doesn't make sense.( Ic2cd9 ) - Set default light navigation bar which respects day/night theme. So for API 33+ platform, the splash screen theme won't cause flicker while removing the splash screen. ( I8023a )
- Do not overwrite activity theme after receiving the splash screen view from api 33.( I10587b )
Core Splashscreen Version 1.1
Version 1.1.0-rc01
3 آوریل 2024
androidx.core:core-splashscreen:1.1.0-rc01
is released. Version 1.1.0-rc01 contains these commits .
رفع اشکال
- Provide default dimensions for wear device with 48x48dp icon ( Ib8de8 , b/256678037 )
- Fix
SplashScreenView#getIconView
cause NPE crash ( 6abfd6 , b/243457485 )
Version 1.1.0-alpha02
6 سپتامبر 2023
androidx.core:core-splashscreen:1.1.0-alpha02
is released. Version 1.1.0-alpha02 contains these commits.
رفع اشکال
- Provide default dimensions for wear device with 48x48dp icon ( Ib8de8 , b/256678037 )
Dependency Update
- Core-Splashscreen now compiles against API 34.
Version 1.1.0-alpha01
22 فوریه 2023
androidx.core:core-splashscreen:1.1.0-alpha01
is released. This was developed in an internal branch.
رفع اشکال
- Fixed a
NullPointerException
whenSplashScreenView#getIconView
returned null. ( e231ab )
Core Splashscreen Version 1.0
نسخه 1.0.1
19 آوریل 2023
androidx.core:core-splashscreen:1.0.1
is released. Version 1.0.1 contains these commits.
رفع اشکال
- Provide default dimensions for wear device with 48x48dp icon ( Ib8de8 , b/256678037 )
نسخه 1.0.0
27 جولای 2022
The core SplashScreen library brings the new Android 12 splash screen to all devices from API 23. Using the splash screen library, your application doesn't need any custom SplashScreen Activity and leverages the right APIs for a fast launch of your application. To use it, simply follow the steps outlined in our guide . For more information about the Android 12 splash screen, visit the official documentation .
androidx.core:core-splashscreen:1.0.0
is released. Version 1.0.0 contains these commits.
Version 1.0.0-rc01
18 مه 2022
androidx.core:core-splashscreen:1.0.0-rc01
is released. Version 1.0.0-rc01 contains these commits.
- No changes since the last beta release.
Version 1.0.0-beta02
23 مارس 2022
androidx.core:core-splashscreen:1.0.0-beta02
is released. Version 1.0.0-beta02 contains these commits.
رفع اشکال
- Fixed
Lateinit property platformView has not been initialized
( b/214835299 )
مشارکت خارجی
- Fix rendering issue on MIUI with dark mode and Explicitly set
android:animateLayoutChanges
to false to avoid the fading animation when removing the splash screen in theOnExitAnimationListener
( #327 )
Version 1.0.0-beta01
12 ژانویه 2022
androidx.core:core-splashscreen:1.0.0-beta01
is released. Version 1.0.0-beta01 contains these commits.
رفع اشکال
- Better night mode handling ensures that night mode is handled when the default parameters are used on all APIs. 2d1d182
Fixes bugs introduced in the new splash screen on Android 12:
- Fix systemBar flickering on API 31: Ensure that the system bars do not flicker when customizing the exit animation. 5a75362
- Fix insets handling when using OnExitAnimationListener: Ensures that the content does not jump when the OnExitAnimationListener is used. 4c8f264
نسخه 1.0.0-alpha02
29 سپتامبر 2021
androidx.core:core-splashscreen:1.0.0-alpha02
is released. Version 1.0.0-alpha02 contains these commits.
ویژگی های جدید
- Better insets support: The splash screen now shows full screen on all APIs even when the
OnExitAnimationListener
is set. -
postSplashScreenTheme
is optional: you can simply callactivity.setTheme()
beforeonCreate()
to set your app theme after the splash screen is shown. - Backward support of the
windowSplashScreenIconBackgroundColor
attribute: usingTheme.SplashScreen.IconBackground
andwindowSplashScreenIconBackgroundColor
, you can add a background to the splash screen icon. - The sizing of the icon has been corrected to match the platform's specs.
تغییرات API
- Added backward compatibility for the windowSplashScreenIconBackgroundColor attribute
- Downgraded the minSdkVersion to API 21 ( Idd050 , b/198161849 , b/197759820 , b/198165621 )
رفع اشکال
- Make
postSplashScreenTheme
optional ( I8c4bf )
نسخه 1.0.0-alpha01
30 ژوئن 2021
androidx.core:core-splashscreen:1.0.0-alpha01
is released.
ویژگی های جدید
-
core-splashscreen
provides backward compatibility for the new Splash Screen APIs . This first alpha version contains all the new APIs backported down to API 23, with the exception of the icon background. - See the KDocs in
androidx.core.splashscreen
for usage information.
Core Google Shortcuts Version 1.2
Version 1.2.0-alpha01
26 جولای 2023
androidx.core:core-google-shortcuts:1.2.0-alpha01
is released. Version 1.2.0-alpha01 contains these commits.
تغییرات API
- Merged public and experimental API files for a,b,c-paths ( I8cfee , b/278769092 )
- Migrated
androidx.core
group to use merged public API files ( Ifdef4 , b/278769092 )
Core Google Shortcuts Version 1.1.0
نسخه 1.1.0
24 اکتبر 2022
androidx.core:core-google-shortcuts:1.1.0
is released. Version 1.1.0 contains these commits.
Important changes since 1.0.0
- Migrated from using
com.google.firebase:firebase-appindexing
to the newcom.google.android.gms:play-services-appindex
library. This version of the library is not compatible withcom.google.firebase:firebase-appindexing
. Developers should avoid using both libraries to avoid build errors.
Version 1.1.0-rc01
5 اکتبر 2022
androidx.core:core-google-shortcuts:1.1.0-rc01
is released. Version 1.1.0-rc01 contains these commits.
ویژگی های جدید
- Migrated from using
com.google.firebase:firebase-appindexing
to the newcom.google.android.gms:play-services-appindex
library. Note that this version of the library is not compatible withcom.google.firebase:firebase-appindexing
. Developers should avoid using both libraries to avoid build errors.
Version 1.1.0-beta01
21 سپتامبر 2022
androidx.core:core-google-shortcuts:1.1.0-beta01
is released. Version 1.1.0-beta01 contains these commits.
ویژگی های جدید
- Removed unused dependency. No new features.
Version 1.1.0-alpha03
7 سپتامبر 2022
androidx.core:core-google-shortcuts:1.1.0-alpha03
is released. Version 1.1.0-alpha03 contains these commits.
ویژگی های جدید
- Removed unused dependency. No new features.
Version 1.1.0-alpha02
24 آگوست 2022
androidx.core:core-google-shortcuts:1.1.0-alpha02
is released. Version 1.1.0-alpha02 contains these commits.
ویژگی های جدید
- Update dependency from
com.google.firebase:firebase-appindexing
tocom.google.android.gms:play-services-appindex
. Developers who use this new version should not externally depend oncom.google.firebase:firebase-appindexing
, as the two libraries are now incompatible.
Version 1.1.0-alpha01
4 آگوست 2021
androidx.core:core-google-shortcuts:1.1.0-alpha01
is released. Version 1.1.0-alpha01 contains these commits.
ویژگی های جدید
- Indexing support for URI based icons in Donated shortcuts to be displayed by Google apps.
Core and Core-ktx Version 1.6.0
Version 1.6.0
30 ژوئن 2021
androidx.core:core:1.6.0
and androidx.core:core-ktx:1.6.0
are released. Version 1.6.0 contains these commits.
Important changes since 1.5.0
- Add support for resolving theme attributes in nested
ColorStateList
s. ( I2e409 b/155579892 ) - Backport tintable background and check mark for CheckedTextView ( I8575c )
Version 1.6.0-rc01
16 ژوئن 2021
androidx.core:core:1.6.0-rc01
and androidx.core:core-ktx:1.6.0-rc01
are released. Version 1.6.0-rc01 contains these commits.
تغییرات API
- JobIntentService has been deprecated in favor of WorkManager ( Ic7749 , b/149049019 )
Version 1.6.0-beta02
2 ژوئن 2021
androidx.core:core:1.6.0-beta02
and androidx.core:core-ktx:1.6.0-beta02
are released. Version 1.6.0-beta02 contains these commits.
رفع اشکال
- Update
BuildCompat
to use current long press timeout on latest platforms ( b/185118174 ) - Remove use of
synchronized
fromContextCompat
,ContentLoadingProgress
methods.
Version 1.6.0-beta01
18 مه 2021
androidx.core:core:1.6.0-beta01
and androidx.core:core-ktx:1.6.0-beta01
are released. Version 1.6.0-beta01 contains these commits.
تغییرات API
- Backport
Objects.requireNonNull()
( I27db5 , b/179904366 )
Version 1.6.0-alpha03
5 مه 2021
androidx.core:core:1.6.0-alpha03
and androidx.core:core-ktx:1.6.0-alpha03
are released. Version 1.6.0-alpha03 contains these commits.
ویژگی های جدید
- Add support for resolving theme attributes in nested
ColorStateList
s. ( I2e409 b/155579892 )
رفع اشکال
Prevent NPE when handling
null
custom selection action mode callbacks on AppCompat-backed views. ( I033c7 , b/173435375 )Add support for setSystemBarsBehavior on SDK < 30. ( I062c8 , b/173203649 )
Version 1.6.0-alpha02
15 آوریل 2021
androidx.core:core:1.6.0-alpha02
and androidx.core:core-ktx:1.6.0-alpha02
are released. Version 1.6.0-alpha02 contains these commits.
تغییرات API
- Add
TelephoneManagerCompat
andSubscriptionManagerCompat
( I5568d ) - Remove deprecated
addCapabilityBinding
method fromShortcutInfoCompat
( Ie8f70 ) - Add
addCapabilityBinding
with parameters andaddCapabilityBinding
without parameters setters toShortcutInfoCompat.Builder
, deprecated oldaddCapabilityBinding
( I90686 ) - Add
LocationCompat
class andLocationManagerCompat.getCurrentLocation()
( I78d9a ) - Deprecated
ModeCompat.isNative
which is replaced byDisplayCompat.getMode
. ( I9a6a2 ) - Added
ContextCompat.getAttributionTag()
andUserHandleCompat.getUserHandleForUid()
( Iea486 )
مشارکت خارجی
- Backport tintable background and check mark for
CheckedTextView
( I8575c )
Version 1.6.0-alpha01
24 مارس 2021
androidx.core:core:1.6.0-alpha01
and androidx.core:core-ktx:1.6.0-alpha01
are released. Version 1.6.0-alpha01 contains these commits.
تغییرات API
- Adds
Handler.hasCallbacks()
method for parity with platform SDK ( Idce1c , b/113855676 ) - Adds capability related setter methods to
ShortcutInfoCompat.Builder
( I45af6 )
Core Google Shortcuts Version 1.0
نسخه 1.0.1
18 مه 2022
androidx.core:core-google-shortcuts:1.0.1
is released. Version 1.0.1 contains these commits.
رفع اشکال
- Fix proguard rule to prevent a method from being unintentionally removed
نسخه 1.0.0
30 ژوئن 2021
androidx.core:core-google-shortcuts:1.0.0
is released. Version 1.0.0 contains these commits.
Major features of 1.0.0
Include this module to allow shortcuts saved using ShortcutManagerCompat to also be donated to Google. This will unlock additional features with those shortcuts for users, such as displaying them as suggestions or allowing Google Assistant to fulfill them through voice query. There is no limit to the number of shortcuts that can be donated, and those that are donated this way are saved on-device. For more information, see the full documentation on pushing dynamic shortcuts to Assistant .
Version 1.0.0-rc01
16 ژوئن 2021
androidx.core:core-google-shortcuts:1.0.0-rc01
is released. Version 1.0.0-rc01 contains these commits.
Version 1.0.0-beta01
18 مه 2021
androidx.core:core-google-shortcuts:1.0.0-beta01
is released. Version 1.0.0-beta01 contains these commits.
ویژگی های جدید
- Shortcuts added via
core-google-shortcuts
library will be saved as a Shortcut object in firebase appindexing, instead of a generic schema.org/Thing object.
رفع اشکال
- Removed the minSdkVersion requirement from the library. The library will still only work for API version 21 and above, but apps will no longer be required to set their own app's minSdkVersion to 21.
نسخه 1.0.0-alpha03
5 مه 2021
androidx.core:core-google-shortcuts:1.0.0-alpha03
is released. Version 1.0.0-alpha03 contains these commits.
رفع اشکال
- No longer automatically report shortcut usage when a shortcut is added / updated. Instead usage reporting will be moved to
ShortcutManagerCompat#pushDynamicShortcut
.
نسخه 1.0.0-alpha02
15 آوریل 2021
androidx.core:core-google-shortcuts:1.0.0-alpha02
is released. Version 1.0.0-alpha02 contains these commits.
ویژگی های جدید
- By depending on
androidx.core:core-google-shortcuts
as an optional component along withandroidx.core
; you can start usingShortcutManagerCompat
to donate shortcuts to be used by Google. - A new TrampolineActivity will be merged with apps depending on this module. The TrampolineActivity is used to open shortcuts donated by this module.
تغییرات API
- Added
ShortcutInfoChangeListenerImpl
, to be used byShortcutManagerCompat
to donate shortcuts to Firebase App Index.
Core and Core-ktx Version 1.5.0
Version 1.5.0
18 مه 2021
androidx.core:core:1.5.0
and androidx.core:core-ktx:1.5.0
are released. Version 1.5.0 contains these commits.
Important changes since 1.4.0
- Support for new Insets Animation APIs
- Updates to
OnReceiveContentListener
to support rich content - Backported
WindowInsetsController
andWindowInsetsCompat
APIs to control system bar appearance - Updated
ActivityCompat.recreate()
to be safely called from any lifecycle state on any API level - Added APIs to supply and retrieve initial surrounding text via
EditorInfoCompat
, which allows IME apps to avoid additional IPC latency. - Various updates to improve parity with platform SDK APIs
Version 1.5.0-rc02
5 مه 2021
androidx.core:core:1.5.0-rc02
and androidx.core:core-ktx:1.5.0-rc02
are released. Version 1.5.0-rc02 contains these commits.
رفع اشکال
- Add support for setSystemBarsBehavior on SDK < 30. ( I062c8 , b/173203649 )
Version 1.5.0-rc01
24 مارس 2021
androidx.core:core:1.5.0-rc01
and androidx.core:core-ktx:1.5.0-rc01
are released. Version 1.5.0-rc01 contains these commits.
خلاصه
- No changes from previous beta03
Version 1.5.0-beta03
10 مارس 2021
androidx.core:core:1.5.0-beta03
and androidx.core:core-ktx:1.5.0-beta03
are released. Version 1.5.0-beta03 contains these commits.
تغییرات API
- Added ExecutorCompat, which creates an Executor from a Handler. ( Ib4ca3 , b/181237835 )
Version 1.5.0-beta02
24 فوریه 2021
androidx.core:core:1.5.0-beta02
and androidx.core:core-ktx:1.5.0-beta02
are released. Version 1.5.0-beta02 contains these commits.
رفع اشکال
- Deprecated
ModeCompat.isNative
which is replaced byDisplayCompat.getMode
. ( Iefa71 ) -
NotificationCompat.MessagingStyle.getText()
was incorrectly marked as@NonNull
; it is now@Nullable
( I05cb7 )
Version 1.5.0-beta01
13 ژانویه 2021
androidx.core:core:1.5.0-beta01
and androidx.core:core-ktx:1.5.0-beta01
are released. Version 1.5.0-beta01 contains these commits.
تغییرات API
- Follow API guidelines for Bounds Compat/Platform interoperability ( I7da35 )
- Integrated drag-and-drop (drop events) in AppCompatEditText with OnReceiveContentListener. ( Ib26c9 , b/175343405 )
- Connection of the new Insets Animation API with the Platform implementation ( I078da )
- Added the new Insets Animation APIs ( I8aebd )
- Updated OnReceiveContentListener and related APIs:
- Updated OnReceiveContentListener so it can be set on any type of view via ViewCompat.
- Removed
getSupportedMimeTypes()
fromOnReceiveContentListener
; now MIME types are passed as an additional arg on theViewCompat
method that sets the listener. - Wrapped arguments to
OnReceiveContentListener.onReceiveContent()
in an object. - Added linkUri as a param to
onReceiveContent()
to ensure backwards compatibility with the keyboard image API. - Added a Bundle param to
onReceiveContent()
to ensure backwards compatibility with the keyboard image API and to facilitate evolution of the API in the future. - Updated
onReceiveContent()
to return any content that was not consumed, as a means to delegate to the default handling. - Removed
TextViewOnReceiveContentListener
from the public API since the default behavior can now be triggered by returning any unconsumed content from the listener. - ( Ib4616 , b/173814913 )
- Deprecated
BuildCompat.isAtLeastR
( Idb37e ) - Moved
widget.RichContentReceiverCompat
toview.OnReceiveContentListener
. ( Ifdab7 , b/173814913 ) - Added
Preconditions.checkFlagsArgument
. ( I43952 , b/174181100 ) - Deprecate custom menu for outbound sharing. ( I7cd92 )
- Notifications can now be tagged as missed calls. ( I14d90 )
- Added
PackageInfoCompat#getSignatures
for retrieving the certificate array for a package ( I8e9a3 , b/159831205 )
رفع اشکال
- Fix a bug where setting
BigPictureStyle.bigLargeIcon
would break theBigPictureStyle
for that notification on newer OS versions. ( Ic623d )
مشارکت خارجی
- ShareCompat now uses constructors for creation and the old factory methods have been deprecated. You can now create both builders and readers from a Context and an Activity is no longer required. ( I315b6 , b/173043501 )
- Set clip data and grant uri read permission when sharing streams using ShareCompat ( I4aa31 , b/173137936 )
Version 1.5.0-alpha05
11 نوامبر 2020
androidx.core:core:1.5.0-alpha05
and androidx.core:core-ktx:1.5.0-alpha05
are released. Version 1.5.0-alpha05 contains these commits.
تغییرات API
- Added support for new GnssStatus APIs ( Id8e22 )
- Added overloads of
FileProvider#getUriForFile
to support custom filenames ( Ie870b ) - Backported the
WindowInsetsController
APIs to control the system bar appearance. ( Ieb4ee ) - Renamed
getFont
with boolean togetCachedFont
( Iea520 ) - Backported the
#hide()
and#show()
methods from WindowInsetsController APIs, added in API 30 ( I21573 ) - Added new API
ResourcesCompat#getFont
with cacheOnly option ( Ic38cf ) - Updated androidx notification bubbles APIs for Android 11 ( Ib9c70 )
Version 1.5.0-alpha04
1 اکتبر 2020
androidx.core:core:1.5.0-alpha04
and androidx.core:core-ktx:1.5.0-alpha04
are released. Version 1.5.0-alpha04 contains these commits.
تغییرات API
- Fix incomplete Style recovery when using
NotificationCompat.Builder.<init>(Context,Notification)
( Ib297a ) - New notification categories types are now available ( I9521a )
رفع اشکال
- Allow
ActivityCompat.recreate()
to be safely called from any lifecycle state on any API level. ( I62dde , b/160122826 )
Version 1.5.0-alpha03
16 سپتامبر 2020
androidx.core:core:1.5.0-alpha03
and androidx.core:core-ktx:1.5.0-alpha03
are released. Version 1.5.0-alpha03 contains these commits.
تغییرات API
-
ViewCompat
is a utility class and shouldn't be instantiated. ( If20fa ) - APIs to supply and retrieve initial surrounding text were backported to
EditorInfoCompat
. They allow IME apps to avoid additional IPC latency. ( Ie3809 ) - Query notification channels and groups with compat objects. ( I11d18 )
رفع اشکال
- For pre-P, ensure panes are marked as important for accessibility and support
CONTENT_CHANGE_TYPE_PANE_DISAPPEARED
events. ( Iaeffc )
مشارکت خارجی
- API lint check for the StaticFinalBuilder is enabled for androidx ( I2b11b , b/138602561 )
Version 1.5.0-alpha02
19 آگوست 2020
androidx.core:core:1.5.0-alpha02
and androidx.core:core-ktx:1.5.0-alpha02
are released. Version 1.5.0-alpha02 contains these commits.
ویژگی های جدید
The
WindowInsetsCompat
APIs have been updated to those in the platform in Android 11. This includes the newime()
inset type, which allows checking the visibility and size of the on-screen keyboard.- Some caveats about the
ime()
type, it works very reliably on API 23+ when your Activity is using theadjustResize
window soft input mode . If you're instead using theadjustPan
mode, it should work reliably back to API 14.
- Some caveats about the
تغییرات API
- Added
ObjectsCompat#toString(Object, String)
. This offers the behavior ofObjects#toString(Object, String)
but can be used pre-API 19. ( I26cdc ) - Added
NotificationCompat.Builder.recoverBuilder(Notification)
( I6f100 ) - Add
NotificationCompat.Builder.createContentView()
and peers ( I6fe13 ) - Add extra data related APIs in AccessibilityNodeInfoCompat ( I19567 )
- Add
NotificationCompat.Builder.setSettingsText
andNotificationCompat.MessagingStyle.addHistoricMessage
( I62bb6 ) - Update Notification documentation ( I1293f )
- Fix nullability of NotificationCompat.Builder ( I932e3 )
- Added
NotificationChannelCompat
andNotificationChannelGroupCompat
( Icc3b6 ) - Add
addExtraDataToAccessibilityNodeInfo
toAccessibilityNodeProviderCompat
( I26575 ) - Update WindowInsetsCompat to Android 11 APIs ( I3df9e )
مشارکت خارجی
- Add
Uri
overloads forMailTo
methods ( I6fa6b ) - Added
MailTo
API which provides consistent behavior and bug fixes for all API levels ( Ie9395 , b/159827506 )
Version 1.5.0-alpha01
10 ژوئن 2020
androidx.core:core:1.5.0-alpha01
and androidx.core:core-ktx:1.5.0-alpha01
are released.
ویژگی های جدید
- Provides parity with Android R platform SDK APIs for
ShortcutManager
,ShortcutInfo
,AccessibilityNodeInfo
,DisplayCutout
,GnssStatus
, andNotification
classes
رفع اشکال
- Make it clear that checking shouldShowPermissionRationale is recommended.
- Change AtomicFile to use rename-into-place.
- Adjust the Typeface display style with the style of given font. ( b/156853883 )
- Fix failing Notification Builder Tests
- Fix register/unregister bug
LocationManagerCompat
.
Core and Core-ktx Version 1.4.0
Version 1.4.0-alpha01
20 مه 2020
androidx.core:core:1.4.0-alpha01
and androidx.core:core-ktx:1.4.0-alpha01
are released. Version 1.4.0-alpha01 contains these commits.
تغییرات API
- Add common API for inserting rich content (eg pasting an image). The new callback provides a single API that apps can implement to support the different ways in which rich content may be inserted. For now the API is only added to
AppCompatEditText
and will be invoked for the following code paths:- paste from the clipboard
- content insertion from the IME (
InputConnection.commitContent
) ( I22bf7 )
- Backported
android.os.Process.isApplicationUid(int)
to help apps determine whether code is executing in a isolated process ( I4c83a , b/153014822 ) - Backported
LocusId
to help apps correlate state between different subsystems such as content capture, shortcuts, and notifications. ( Ia3129 ) - Added ancestry sequences to ViewGroup ( I5f75c , b/117976097 )
رفع اشکال
- Added permissions validation for
ActivityCompat.requestPermissions()
( I372cc , b/122163323 ) - Extracted v28+ calls into a separate static class, which fixes a
NoClassDefFoundError
error forView#OnUnhandledKeyEventListener
when building an app bundle ( Id3419 , b/153695093 ) - Fixed a
setChronometerCountDown
crash bug ( I47282 , b/145770610 )
Core and Core-ktx Version 1.3.2
نسخه 1.3.2
1 اکتبر 2020
androidx.core:core:1.3.2
and androidx.core:core-ktx:1.3.2
are released. Version 1.3.2 contains these commits.
رفع اشکال
- Allow
ActivityCompat.recreate()
to be safely called from any lifecycle state on any API level. ( I62dde , b/160122826 )
Core and Core-ktx Version 1.3.1
نسخه 1.3.1
22 جولای 2020
androidx.core:core:1.3.1
and androidx.core:core-ktx:1.3.1
are released. Version 1.3.1 contains these commits.
رفع اشکال
- Fixed an issue where the resolved font resource
Typeface
weight and style had the wrong values on API Level 29 ( b/156853883 )
Core and Core-ktx Version 1.3.0
Version 1.3.0
27 مه 2020
androidx.core:core:1.3.0
and androidx.core:core-ktx:1.3.0
are released. Version 1.3.0 contains these commits.
Major changes since 1.2.0
- New APIs on
NestedScrollView
to run smooth scrolls with specified duration - New APIs on
ViewCompat
to retrieve the original window insets that were dispatched to the view hierarchy
Version 1.3.0-rc01
15 آوریل 2020
androidx.core:core:1.3.0-rc01
and androidx.core:core-ktx:1.3.0-rc01
are released. Version 1.3.0-rc01 contains these commits.
رفع اشکال
-
WindowInsetsCompat
now properly implementshashCode()
andequals()
on all supported API levels.
Version 1.3.0-beta01
1 آوریل 2020
androidx.core:core:1.3.0-beta01
and androidx.core:core-ktx:1.3.0-beta01
are released. Version 1.3.0-beta01 contains these commits.
Version 1.3.0-alpha02
4 مارس 2020
androidx.core:core:1.3.0-alpha02
and androidx.core:core-ktx:1.3.0-alpha02
are released. Version 1.3.0-alpha02 contains these commits.
تغییرات API
- New APIs on
NestedScrollView
to run smooth scrolls with specified duration - A new
ViewCompat
API to retrieve the original window insets that were dispatched to the view hierarchy
Version 1.3.0-alpha01
29 ژانویه 2020
androidx.core:core:1.3.0-alpha01
and androidx.core:core-ktx:1.3.0-alpha01
are released. Version 1.3.0-alpha01 contains these commits .
ویژگی های جدید
- Added
ContentProviderCompat
- Added
WindowInsetsCompat.Builder
API changes
- Added a
NotificationCompat
API to silence a notification instance - Added
ResourcesCompat.NULL_ID
- Deprecated
CarExtender.UnreadConversation
inNotificationCompat
- Added a
DisplayCompat
API to get the physical size of the device
رفع اشکال
- Improved the handling actions with no icons in
NotificationCompat
- Fixed drawable tinting on TextView relative to compound drawables on API Level 23 ( aosp/1172194 )
- Ensured the base context is always a wrapper
- Fixed an issue where RecyclerView should not populate Collection[Item]Info by default
نسخه 1.2.0
نسخه 1.2.0
5 فوریه 2020
androidx.core:core:1.2.0
and androidx.core:core-ktx:1.2.0
are released. Version 1.2.0 contains these commits .
Major changes since 1.1.0
- Added new APIs and bug fixes in
NotificationCompat
- Added new APIs to work with
BlendMode
introduced in AndroidQ in backwards-compatible way - Added new APIs and bug fixes in accessibility compat
- Added new APIs to work with
ShortcutInfo
- Added new APIs to work with
WindowInsets
- Fixed backwards compatibility for bundle key strings between 28.0 (support library) and 1.1 (AndroidX) in
EditorInfoCompat
,ShareCompat
,WakefulBroadcastReceiver
andInputConnectionCompat
Version 1.2.0-rc01
20 نوامبر 2019
androidx.core:core:1.2.0-rc01
and androidx.core:core-ktx:1.2.0-rc01
are released with no changes since 1.2.0-beta02
. Version 1.2.0-rc01 contains these commits .
Version 1.2.0-beta02
7 نوامبر 2019
androidx.core:core:1.2.0-beta02
and androidx.core:core:1.2.0-beta02
are released. Version 1.2.0-beta02 contains these commits .
رفع اشکال
- Updated translations for en-rCA and en-rXC locales.
Version 1.2.0-beta01
9 اکتبر 2019
androidx.core:core:1.2.0-beta01
and androidx.core:core-ktx:1.2.0-beta01
released. Version 1.2.0-beta01 contains these commits .
تغییرات API
- Added support for creating NotificationCompat Actions using IconCompat and deprecated a public field (and its getter) using resource IDs to represent icons for Actions. ( aosp/1119192 )
- Add
MathUtils.clamp
for longs ( aosp/1117300 ) - Added
setChronometerCountDown
toNotificationCompat
( b/138601213 )
رفع اشکال
- Fixed an issue with the handling of unicode digits in address detection. ( aosp/1129852 )
مشارکت خارجی
- Thank you Sergey Zakharov for enabling the API lint check for MissingBuild and ListenerLast in AndroidX! ( aosp/1119191 , aosp/1126768 )
Version 1.2.0-alpha04
5 سپتامبر 2019
androidx.core:core:1.2.0-alpha04
and androidx.core:core-ktx:1.2.0-alpha04
are released. The commits included in this version can be found here .
API changes
- Deprecated
ShortcutInfoCompat.Builder#setLongLived()
and replaced it with a new API with the same name that accepts a boolean as a parameter, to match the similar API inShortcutInfo.Builder
in Android framework. - Added
ShortcutInfoCompat.Builder#setRank()
andShortcutInfoCompat#getRank()
to match theShortcutInfo
in Android framework.
رفع اشکال
- Nested pre scrolling is no longer performed before the gesture exceeds touch slop ( b/139530818 , aosp/1105373 ). This benefits ViewPager2 and other libraries.
Version 1.2.0-alpha03
August 7, 2019
androidx.core:core:1.2.0-alpha03
and androidx.core:core-ktx:1.2.0-alpha03
are released. The commits included in this version can be found here .
ویژگی های جدید
- Added
UriCompat.toSafeString(Uri)
to provide URI escaping that is updatable separately from the platform. ( b/130878326 ) - Added
Predicate<T>
interface to provide Java 8-style predicates without requiring Java 8 language features.
API changes
- Made
removeDynamicShortuct()
static ( b/134993204 ) - Created factory method for BlendMode Color Filter ( b/135943149 )
- Added
async
,counter
, andisEnabled
toTraceCompat
( aosp/987332 ) - Unhid APIs in
WindowInsetsCompat
andViewDragHelper
( aosp/979408 )
رفع اشکال
- Fixed bug with
NestedScrollView
scrolling in response to a11y scroll calls. ( aosp/971000 ) - Switched to using
SimpleArrayMap
inViewCompat
implementation ( aosp/1012534 ) - Fixed bug where FingerprintManager incorrectly checked PackageManager on API Level 23 ( b/124066957 )
Version 1.2.0-alpha02
13 ژوئن 2019
androidx.core:core:1.2.0-alpha02
and androidx.core:core-ktx:1.2.0-alpha02
are released. The commits included in this version can be found here .
API changes
- Added WindowInsetsCompat.wrap() and unwrap(), to be able to wrap and unwrap WindowInsets instances
Version 1.2.0-alpha01
May 7, 2019 androidx.core:core:1.2.0-alpha01
are androidx.core:core-ktx:1.2.0-alpha01
are released.
ویژگی های جدید
- Add
ACTION_PAGE_UP/DOWN/NEXT/PREVIOUS
accessibility actions - Add
CATEGORY_NOTIFICATION
to NotificationCompat - Add support for contextual Notification Actions
- Add support for bubbles in NotificationCompat
- Added BlendModeCompat APIs to leverage the BlendMode APIs on Android 10 and falling back to
PorterDuff.Mode
equivalents wherever possible - Add new getters to WindowInsetsCompat and ViewCompat
- Add support for tap-to-edit in notifications
- DrawerLayout system gesture exclusion rects
- Add NotificationCompat API for whether to allow system generated contextual actions
- Handle disabled
<activity-alias>
components in NavUtils - Add
AccessibilityNodeInfoCompat.setEntryKey
رفع اشکال
- Fix exception when loading fonts in TypefaceCompat
- Various DayNight fixes
- Fix backwards compatibility for bundle key strings between 28.0 (support library) and 1.1 (AndroidX) in EditorInfoCompat, ShareCompat,
WakefulBroadcastReceiver
andInputConnectionCompat
نسخه 1.1.0
نسخه 1.1.0
5 سپتامبر 2019
androidx.core:core:1.1.0
and androidx.core:core-ktx:1.1.0
are released. The commits included in this version can be found here .
Important Changes since 1.0.0
- Updated accessibility APIs to match the Android 10 platform accessibility APIs
- Added improvements to Nested Scrolling; see
NestedScrollingChild3
andNestedScrollingParent3
. - This library no longer exposes the
androidx.collection
dependency as part of its API. If you were depending on theandroidx.collection
types implicitly through a dependency on Core, you will need to add an explicitandroidx.collection
dependency to your library or app. This change is source-incompatible but retains binary compatibility. The Collection dependency is still a transitive dependency of Core but as an implementation detail instead of part of its API. - Worked around an IPC compatibility issue caused by refactor to androidx ( aosp/948725 , aosp/938269 )
- Added a variety of fixes for AppCompat DayNight ( aosp/942956 )
Version 1.1.0-rc03
August 7, 2019
androidx.core:core:1.1.0-rc03
and androidx.core:core-ktx:1.1.0-rc03
are released. The commits included in this version can be found here .
رفع اشکال
- Make the hidden
androidx.core.app.ComponentActivity
implementLifecycleOwner
to maintain binary compatibility withandroidx.fragment:fragment:1.0.0
( aosp/1094409 )
Version 1.1.0-rc02
2 جولای 2019
androidx.core:core:1.1.0-rc02
and androidx.core:core-ktx:1.1.0-rc02
are released. The commits included in this version can be found here .
رفع اشکال
-
FingerprintManagerCompat#getFingerprintManagerOrNull
on API level 23 should not checkPackageManager
( b/124066957 ) ( aosp/987433 ) - Fix equality comparison in AccessibilityNodeInfoCompat ( aosp/985736 )
Version 1.1.0-rc01
5 ژوئن 2019
androidx.core:core:1.1.0-rc01
and androidx.core:core-ktx:1.1.0-rc01
are released. The commits included in this version can be found here .
رفع اشکال
- Make image keyboard API backport compatible to all previous impls ( aosp/968220 )
- Remove Guava ListenableFuture from androidx.core:core library dependencies ( b/133171974 , aosp/965393 )
- Fix incorrect velocity while flinging with nested scrolling. ( aosp/961642 )
- Add test for mutating
TransitionDrawable
( b/37033322 )
Version 1.1.0-beta01
7 مه 2019
androidx.core:core:1.1.0-beta01
and androidx.core:core-ktx:1.1.0-beta01
are released. The commits included in this version can be found here .
The initial release of AndroidX broke backwards compatibility for Support Library compat
APIs that are used for inter-process communication, sending keyed data in bundles. This release fixes this compatibility, restoring communication between code built with Support Library 28.0 (or earlier) and AndroidX 1.1 (or later).
API changes
- Undeprecated capability setters ( aosp/937281 )
-
RemoteActionCompat
is now a 1VersionedParcelable` ( aosp/928534 )
رفع اشکال
- AppCompatTextView in core tests should be created with an appcompat theme ( aosp/951636 )
- Use pre-1.0 string values for InputConnectionCompat ( aosp/948725 )
- Use pre-AndroidX strings as fallback interop for bundle keys ( aosp/938269 )
- Fixed bug in DayNight updates when in background ( aosp/942956 )
- Implemented text entry key API for accessibility services in AOSP Keyboard ( aosp/943897 )
- Fixed exception when loading font on devices running API Level 20 and lower
- Handle disabled
<activity-alias>
components in NavUtils ( aosp/940788 )
Version 1.1.0-alpha05
13 مارس 2019
androidx.core:core:1.1.0-alpha05
and androidx.core:core-ktx:1.1.0-alpha05
are released. The full list of commits included in this version can be found here .
ویژگی های جدید
- New
ActivityCompat.recreate()
API for working around pre-28 platform bugs ( aosp/898940 ) - New
LocationManagerCompat
class ( aosp/894736 )
API changes
- This library no longer exposes the 'collection' dependency as part of its API. If you were depending on the 'collection' types implicitly through a dependency on 'core', you will need to add an explicit 'collection' dependency to your library or app. This change is source-incompatible but retains binary compatibility. The 'collection' dependency is still a transitive dependency of 'core' but as an implementation detail instead of part of its API.
رفع اشکال
- Fixed bug with default tint mode for
ImageView
on devices running API level 21
Version 1.1.0-alpha04
30 ژانویه 2019
androidx.core:core 1.1.0-alpha04
and androidx.core:core-ktx 1.1.0-alpha04
are released.
API changes
- Change value of
EXTRA_SHORTCUT_ID
to be consistent with the platform ( aosp/877712 ) - Add
CATEGORY_NOTIFICATION
toNotificationCompat
( aosp/861067 )
رفع اشکال
- Fix for fontFamily not working on devices running API level 24 and lower ( aosp/807054 )
- Fixed bug where replacing accessibility actions, and adding accessibility actions, didn't remove old accessibility actions ( aosp/848314 )
Version 1.1.0-alpha03
17 دسامبر 2018
androidx.core 1.1.0-alpha03
and androidx.core-ktx 1.1.0-alpha03
are released with the following changes. androidx.core-ktx 1.1.0-alpha02
is released to provide a ktx match for androidx.core 1.1.0-alpha02
.
ویژگی های جدید
- Added Notification channels methods to
NotificationManagerCompat
so developers can use onlyNotificationManagerCompat
when working with notifications. Special thanks to Zdeněk Kořán for this new feature!
API changes
- Added new APIs to
ShortcutManagerCompat
to publish and update dynamic shortcuts.
Version 1.1.0-alpha01
5 نوامبر 2018
androidx.core 1.1.0-alpha01
is released with the following API changes and bug fixes.
New features and API changes
- NestedScrollingChild3 and NestedScrollingParent3 add the 'consumed' parameter to the overloaded dispatchNestedScroll and * onNestedScroll methods so that the view that drives nested scrolling can be better informed about how much scroll distance was * consumed by parents in each nested scroll pass.
- NestedScrollView now implements NestedScrollingChild3 and NestedScrollingParent3, and therefore, the NestedScrollingChild2 and * NestedScrollingParent2 implementations of dispatchNestedScroll and onNestedScroll are not guaranteed to be called. Developers * counting on either being called should also override the new nested scrolling 3 version of dispatchNestedScroll and onNestedScroll.
- ShortcutInfoCompat has the following new fields: Persons, categories and isLongLived. Done to advertise it can accept various types * of content.
- Renamed SupportActivity to ComponentActivity. See androidx.activity for more info.
- Added getMainExecutor() method, which returns an Executor link that will run enqueued tasks on the main thread associated with that * context.
- Added compatibility implementation of Resources.getFloat.
- Added Results Source to compat RemoteInput. This allows apps to distinguish direct and smart replies for logging purposes.
- Added Kotlin extension functions for TextView TextWatcher actions.
- Deprecated AccessibilityNodeInfo capability and flag setters; use actions instead.
- Added AccessibilityPane to ViewCompat.
- Exposed ClickableSpans on pre-O devices through the addition of AccessibilityClickableSpanCompat.
- Deprecated
AccessibilityNodeInfoCompat.setFocusable()
,setClickable()
,setLongClickable()
,setScrollable()
, andsetContextClickable()
. AddedAccessibilityAction
s instead. - Added
ViewCompat.setAccessibilityPaneTitle()
,getAccessibilityPaneTitle()
,setScreenReaderFocusable()
,isScreenReaderFocusable()
,setAccessibilityHeading()
, andisAccessibilityHeading()
, to backport thisView
accessibility functionality through API 19. - Added
ViewCompat.enableAccessibleClickableSpanSupport()
to allow developers to make non-URLClickableSpan
s accessible back through API 19.
رفع اشکال
- Fixed bug that caused
ResourcesCompat.getFont()
crash when the network fails, when using downloadable fonts. - Fixed Null Pointer Exception in TypefaceCompatApi21 that occurred when
ContentResolver
returned null. - Fixed type error in Array Utils where it expected ColorStateList but got raw colors.
Core-Animation and Core-Animation-Testing 1.0.0
نسخه 1.0.0
1 مه 2024
androidx.core:core-animation:1.0.0
and androidx.core:core-animation-testing:1.0.0
are released. Version 1.0.0 contains these commits .
Major features of 1.0.0
androidx.core:core-animation
is a backport of the Animator API including all the features added to the platform since API Level 14. Some of the notable features are:
-
ValueAnimator#pause
,ValueAnimator#resume
(API Level 19) -
ObjectAnimator.ofMultiInt
,ObjectAnimator.ofMultiFloat
(API Level 21) -
ValueAnimator#setCurrentFraction
(API Level 22) -
AnimatorSet#setCurrentPlayTime
(API Level 26) -
androidx.core:core-animation-testing
allows developers to test animators in a deterministic manner. SeeAnimatorTestRule
for the details.
Version 1.0.0-rc01
26 جولای 2023
androidx.core:core-animation:1.0.0-rc01
, androidx.core:core-animation-testing:1.0.0-rc01
, and androidx.core:core-remoteviews:1.0.0-rc01
are released. Version 1.0.0-rc01 contains these commits.
ویژگی های جدید
-
RemoteViews
moves moved to rc01 after stabilizing in beta.
Version 1.0.0-beta01
20 آوریل 2022
androidx.core:core-animation:1.0.0-beta01
is released with no changes since 1.0.0-alpha02. Version 1.0.0-beta01 contains these commits.
Core-Animation Core-Animation-Testing Version 1.0.0-alpha02
19 آگوست 2020
androidx.core:core-animation:1.0.0-alpha02
and androidx.core:core-animation-testing:1.0.0-alpha02
are released. Version 1.0.0-alpha02 contains these commits.
رفع اشکال
- Fix AnimatorSet with multiple Animators for a single property. ( aosp/1351310 )
Core-Animation Version 1.0.0-alpha01
15 آوریل 2020
androidx.core:core-animation:1.0.0-alpha01
and androidx.core:core-animation-testing:1.0.0-alpha01
are released. Version 1.0.0-alpha01 contains these commits.
ویژگی های جدید
androidx.core:core-animation
is a backport of the Animator API including all the features added to the platform since API Level 14. Some of the notable features are:
-
ValueAnimator#pause
,ValueAnimator#resume
(API Level 19) -
ObjectAnimator.ofMultiInt
,ObjectAnimator.ofMultiFloat
(API Level 21) -
ValueAnimator#setCurrentFraction
(API Level 22) -
AnimatorSet#setCurrentPlayTime
(API Level 26) -
androidx.core:core-animation-testing
allows developers to test animators in a deterministic manner. See AnimatorTestRule for the details.
Core-Role Version 1.1.0
نسخه 1.1.0
12 مارس 2025
androidx.core:core-role:1.1.0
is released. Version 1.1.0 contains these commits .
Version 1.1.0-rc01
15 دسامبر 2021
androidx.core:core-role:1.1.0-rc01
is released with no changes since 1.1.0-alpha01
. Version 1.1.0-rc01 contains these commits.
Core-Role Version 1.1.0-alpha01
15 آوریل 2020
androidx.core:core-role:1.1.0-alpha01
is released. Version 1.1.0-alpha01 contains these commits.
تغییرات API
- Added role name for system gallery.
Core-Role Version 1.0.0
نسخه 1.0.0
10 فوریه 2021
androidx.core:core-role:1.0.0
is released. Version 1.0.0 contains these commits.
Major features of 1.0.0
- Added
RoleManagerCompat
containing the name and documentation for roles that might be available in the system.
Core-Role Version 1.0.0-rc01
15 آوریل 2020
androidx.core:core-role:1.0.0-rc01
is released with no changes since 1.0.0-beta01
. Version 1.0.0-rc01 contains these commits.
Core-Role Version 1.0.0-beta01
20 نوامبر 2019
androidx.core:core:1.0.0-beta01
is released with no changes since 1.0.0-alpha01
. Version 1.0.0-beta01 contains these commits .
Core-Role Version 1.0.0-alpha01
2 جولای 2019
androidx.core:core-role:1.0.0-alpha01
is released. This is the first release of androidx.core:core-role
. The commits included in this initial version can be found here .
ویژگی های جدید
- Added
RoleManagerCompat
containing the name and documentation for roles that might be available in the system.
نسخه 1.0.2
نسخه 1.0.2
7 مه 2019
androidx.core:core:1.0.2
, and androidx.core:core-ktx:1.0.2
are released. This release includes 2 commits.
The initial release of AndroidX broke backwards compatibility for Support Library compat
APIs that are used for inter-process communication, sending keyed data in bundles. This release fixes this compatibility, restoring communication between code built with Support Library 28.0 (or earlier) and AndroidX 1.1 (or later).
رفع اشکال
- Use pre-1.0 string values for InputConnectionCompat ( aosp/948725 )
- Use pre-AndroidX strings as fallback interop for bundle keys ( aosp/938269 )
نسخه 1.0.1
نسخه 1.0.1
November 7, 2018
Bugfix release of core-1.0.1
and appcompat-1.0.2
.
رفع اشکال
- Fixed bug where
PrecomputedTextCompat
would crash when used with RTLAppCompatTextView
. b/113070424
Core-Ktx Version 1.0.1
5 نوامبر 2018
androidx.core-ktx 1.0.1
is released with the following bug fixes:
- Fixed bug where implementation of union and intersection were swapped.