هسته

آخرین ویژگی‌های پلتفرم و APIها را هدف قرار دهید و در عین حال از دستگاه‌های قدیمی‌تر نیز پشتیبانی کنید.

این جدول تمام مصنوعات گروه androidx.core را فهرست می کند.

مصنوع انتشار پایدار کاندید را آزاد کنید نسخه بتا انتشار آلفا
هسته 1.16.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.1.0-rc01 1.2.0-beta02 -
آخرین به روز رسانی این کتابخانه در: 7 می 2025

اعلام وابستگی ها

برای افزودن وابستگی به Core، باید مخزن Google Maven را به پروژه خود اضافه کنید. برای اطلاعات بیشتر، مخزن Maven Google را بخوانید.

وابستگی‌های مصنوعات مورد نیاز خود را در فایل build.gradle برای برنامه یا ماژول خود اضافه کنید:

شیار

dependencies {
    def core_version = "1.16.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-beta02"
}

کاتلین

dependencies {
    val core_version = "1.16.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-beta02")
}

برای اطلاعات بیشتر درباره وابستگی‌ها، به افزودن وابستگی‌های ساخت مراجعه کنید.

بازخورد

بازخورد شما به بهتر شدن Jetpack کمک می کند. اگر مسائل جدیدی کشف کردید یا ایده هایی برای بهبود این کتابخانه دارید، به ما اطلاع دهید. لطفاً قبل از ایجاد کتابخانه جدید، به مسائل موجود در این کتابخانه نگاهی بیندازید. با کلیک کردن روی دکمه ستاره می توانید رای خود را به یک موضوع موجود اضافه کنید.

یک شماره جدید ایجاد کنید

برای اطلاعات بیشتر به مستندات ردیاب مشکل مراجعه کنید.

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.0.

نسخه 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.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 در Activity 1.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 )

به روز رسانی وابستگی

نسخه 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 )

رفع اشکال

  • در صورتی که نما دارای نماینده قابلیت دسترسی باشد، یک نمای برای دسترسی مهم است. ( If2b54 )

نسخه 1.12.0-alpha05

7 ژوئن 2023

androidx.core:core:1.12.0-alpha05 ، androidx.core:core-ktx:1.12.0-alpha05 و androidx.core:core-testing:1.12.0-alpha05 منتشر شدند. این نسخه در یک شعبه داخلی توسعه یافته است.

رفع اشکال

  • اسناد مربوط به کلاس های ColorUtils را برای تولید رنگ از پارامترهای Material 3 Hue، Chroma و Tone (M3HCT) به روز کرد. ( I32979 , I21c8c )
  • رفع منسوخ شدن جایگزینی با android.os.Trace ( I730f9 )

نسخه 1.12.0-alpha04

10 مه 2023

androidx.core:core:1.12.0-alpha04 ، androidx.core:core-ktx:1.12.0-alpha04 و androidx.core:core-testing:1.12.0-alpha04 منتشر شدند. این از یک شعبه داخلی منتشر شد.

نسخه 1.12.0-alpha03

12 آوریل 2023

androidx.core:core:1.12.0-alpha03 ، androidx.core:core-ktx:1.12.0-alpha03 و androidx.core:core-testing:1.12.0-alpha03 منتشر شدند. این از یک شعبه داخلی منتشر شد.

تغییرات API

  • نمایش NotificationCompat.TvExtender (aosp/01c67677e9310b2cf4c536d7e951e117d6cce64a)
  • روش‌های عمومی برای دسترسی به پارامترهای M3HCT و تبدیل مقادیر M3HCT به ARGB اضافه شده است (aosp/06810598aa94bee731bbe0d277933b8b9614934e)
  • NotificationManager.getCurrentInterruptionFilter (aosp/b0c6940639e35371d212a7ebd7dbf01c14fc7710) اضافه شد
  • getCurrentInterruptionFilter به NotifManagerCompat اضافه شد (aosp/516143e05f824ff49bde3c0c97344a2924867d30)
  • app.BundleCompat منسوخ شده به نفع os.BundleCompat (aosp/bf6169fe9ee1113065d0cf380bd2e09f31ce0a40)
  • TestConsumer اضافه شد تا توسعه دهندگان بتوانند مقادیر را در یک آزمایش ثبت کنند. (aosp/f75a4913940e710842168c832a7f57c2dcae4fdf)
  • TestConsumer اضافه شد تا توسعه دهندگان بتوانند مقادیر را در یک آزمایش ضبط کنند. (aosp/67ad4e2c6488772b7c9a061ee6ca01bba23649f7)

رفع اشکال

  • رفع اشکالی که در آن unregisterGnssMeasurementsCallback() به درستی زیر Android R کار نمی‌کند. (aosp/c5a97c4ee956f87d229ec892f2b8849f392e956c)

نسخه 1.12.0-alpha01

8 مارس 2023

androidx.core:core:1.12.0-alpha01 و androidx.core:core-ktx:1.12.0-alpha01 منتشر شد. نسخه 1.12.0-alpha01 حاوی این commit ها است.

ویژگی های جدید

  • API هایی را ارائه می دهد تا به توسعه دهندگان کمک کند تا به راحتی به اولویت کاربر یا داده های محلی در ICU دسترسی داشته باشند. داده‌های محلی قابل دسترسی شامل چرخه ساعت، نوع تقویم، واحد دما و روز اول هفته است.

تغییرات API

  • APIهای جدید LocalePreferences اضافه شد تا به توسعه دهندگان کمک کند تا به راحتی به داده های محلی یا تنظیمات محلی کاربر دسترسی داشته باشند.

Core و Core-ktx نسخه 1.11

نسخه 1.11.0-beta02

7 ژوئن 2023

androidx.core:core:1.11.0-beta02 ، androidx.core:core-ktx:1.11.0-beta02 و androidx.core:core-testing:1.11.0-beta02 منتشر شدند. نسخه 1.11.0-beta02 حاوی این تعهدات است.

رفع اشکال

  • اسناد مربوط به کلاس های ColorUtils را برای تولید رنگ از پارامترهای Material 3 Hue، Chroma و Tone (M3HCT) به روز کرد. ( I32979 , I21c8c )
  • رفع منسوخ شدن جایگزینی با android.os.Trace ( I730f9 )

نسخه 1.11.0-beta01

24 مه 2023

androidx.core:core:1.11.0-beta01 ، androidx.core:core-ktx:1.11.0-beta01 و androidx.core:core-testing:1.11.0-beta01 منتشر شدند. نسخه 1.11.0-beta01 حاوی این تعهدات است.

تغییرات API

  • افزودن پشتیبانی ViewCompat به متد performHapticFeedback ( Ib02c6 )
  • getDisplay به #getDisplayOrDefault ( I96ff9 ) تغییر دهید
  • افزودن ContextCompat#getDisplay(Context) ( I7011f ، b/178183326 )
  • اضافه کردن ContextCompat#getContextForLanguage(Context) برای دریافت زبان‌های محلی هر برنامه در زمینه غیرفعالیت ( I58e75 ، b/243457462 )

رفع اشکال

  • شفاف سازی اسناد CollectionInfoCompat ، به ویژه isHierarchical ( I14f6c )

نسخه 1.11.0-alpha04

10 مه 2023

androidx.core:core:1.11.0-alpha04 ، androidx.core:core-ktx:1.11.0-alpha04 و androidx.core:core-testing:1.11.0-alpha04 منتشر شدند. نسخه 1.11.0-alpha04 شامل این تعهدات است.

تغییرات API

  • اضافه شده LinkMovementMethodCompat که دست زدن به لمس لینک را برطرف می کند ( IA632C )
  • PendingIntent.getBroadcast() اکنون به درستی علامت گذاری شده است @Nullable ( IFFF96 ، B/277630907 )

رفع اشکال

  • نشت زمینه ثابت در DisplayManagerCompat ( I3409B ، B/279625765 )
  • با توجه به نمای ، یک SoftwareKeyboardControllerCompat برای ارائه روش های مستقیم برای نمایش و پنهان کردن صفحه کلید نرم افزار اضافه شده است. این راه حل های Backports برای مسائل شناخته شده هنگام استفاده از API های WindowInsetsController در برخی از سطوح API ، و استخراج اجرای پشتیبان برای WindowInsetsControllerCompat.show و مخفی کردن انواع IME است. ( IDD0A3 )

نسخه 1.11.0-alpha03

19 آوریل 2023

androidx.core:core:1.11.0-alpha03 ، androidx.core:core-ktx:1.11.0-alpha03 و androidx.core:core-testing:1.11.0-alpha03 منتشر می شود. نسخه 1.11.0-alpha03 شامل این تعهدات است.

تغییرات API

  • بروزرسانی BuildCompat در آماده سازی برای Android 14 Beta 2 ( IDC1B1 ، B/276491001 )
  • unhides NotificationCompat.TvExtender ( IBE13a )
  • روش های عمومی را برای دسترسی به پارامترهای M3HCT اضافه کرده و مقادیر M3HCT را به argb تبدیل کنید ( ID7E9D )

نسخه 1.11.0-alpha02

5 آوریل 2023

androidx.core:core:1.11.0-alpha02 ، androidx.core:core-ktx:1.11.0-alpha02 و androidx.core:core-testing:1.11.0-alpha02 منتشر می شود. نسخه 1.11.0-alpha02 شامل این تعهدات است.

تغییرات API

  • اضافه کردن getCurrentInterruptionFilter به NotifManagerCompat ( i8ec95 ، b/243183646 )
  • app.BundleCompat به نفع os.BundleCompat ( idc3a2 ، b/274577000 )
  • TestConsumer اضافه کنید تا توسعه دهندگان بتوانند مقادیر را در یک آزمون ضبط کنند. ( i937c1 )

رفع اشکال

  • رفع اشکال در جایی که unregisterGnssMeasurementsCallback() به درستی در زیر Android R. کار نمی کند ( ID1999 )

نسخه 1.11.0-alpha01

22 مارس 2023

androidx.core:core:1.11.0-alpha01 و androidx.core:core-ktx:1.11.0-alpha01 منتشر می شود. نسخه 1.11.0-alpha01 شامل این تعهدات است.

تغییرات API

  • در Android U ، API ContentProvider از getType نیاز دارد که تماس گیرنده اجازه خواندن صحیح را در اختیار داشته باشد. FileProvider اکنون یک اجرای پیش فرض getTypeAnonymous را ارائه می دهد ، که نسخه نامحدود است. ( i4773f )
  • کلاسهای سازگار برای API های ضبط محتوا ( I09366 ) اضافه شده است
  • اضافه شده NotifCompat.Builder.setLargeIcon(Icon) ( IC0A5B )
  • یک API اعلان دسته ای را به NotificationManagerCompat اضافه می کند. کاربران تشویق می شوند هنگام ارسال اعلان های متعدد از این API استفاده کنند. ( i2cd7f )
  • اضافه شده registerGnssMeasurementsCallback() با پشتیبانی مجری در سیستم عامل های Pre-R ( I579F8 )

Core and Core-KTX نسخه 1.10

نسخه 1.10.1

10 مه 2023

androidx.core:core:1.10.1 و androidx.core:core-ktx:1.10.1 منتشر می شود. نسخه 1.10.1 شامل این تعهدات است.

سهم خارجی

  • Fix BadParcelableException را برای نتیجه NULL B/277434277 ، B/278118318 توسط استودیوی MyGod کمک کرد

نسخه 1.10.0

5 آوریل 2023

androidx.core:core:1.10.0 و androidx.core:core-ktx:1.10.0 منتشر می شود. نسخه 1.10.0 شامل این تعهدات است.

تغییرات مهم از 1.9.0

  • بازیافت کاهش یافته از اشیاء دسترسی. ما پیدا کرده ایم که تغییرات عملکرد حتی برای قدیمی ترین نسخه های پشتیبانی شده سیستم عامل ناچیز است. ( i0a961 )
  • ثابت های BuildCompat برای نسخه های پسوند SDK اضافه شده است. ( i6084c )
  • یادداشت های انتشار نسخه های قبل از انتشار 1.10.0 را برای رفع API و رفع اشکال مشاهده کنید.

نسخه 1.10.0-RC01

8 مارس 2023

androidx.core:core:1.10.0-rc01 و androidx.core:core-ktx:1.10.0-rc01 بدون تغییر از بتا قبلی منتشر می شود.

نسخه 1.10.0-beta01

22 فوریه 2023

androidx.core:core:1.10.0-beta01 و androidx.core:core-ktx:1.10.0-beta01 منتشر می شود. نسخه 1.10.0-beta01 شامل این تعهدات است.

تغییرات API

  • API های AccessibilityNodeInfoCompat از set/getMinMillisBetweteenContentChanges به set/getMinDurationBetweenContentChanges /getMindurationBetweenContContContContContContContContContContContContContContContContContContContContContContContContContContContContContContContContContContContchanges تغییر نام داده اند و اکنون مدت زمان آنها long می کشد. ( F46689 )
  • NotificationCompat.bigLargeIcon(Icon) اضافه شده ( I60855 )

رفع اشکال

  • رفع اسناد مربوط به مقدار پیش فرض NotificationCompat.Builder.setShowWhen() ( BA52A2 )
  • اصلاح تایپی در اسناد AccelerateInterpolator / DecelerateInterpolator ( 2173505 )
  • اصلاح تایپی در Docs ShortcutInfoCompat ( 44075F )
  • اقدامات صفحه کلید با استفاده از صفحه کلید با استفاده از NestedScrollView و CoordinatorLayout ( BDD72E )

نسخه 1.10.0-alpha02

25 ژانویه 2023

androidx.core:core:1.10.0-alpha02 و androidx.core:core-ktx:1.10.0-alpha02 منتشر می شود. نسخه 1.10.0-alpha02 شامل این تعهدات است.

تغییرات API

  • اضافه شده BuildCompat ثابت برای نسخه پسوند AD_SERVICES ( I51D98 )
  • BEHAVIOR_DEFAULT به WindowInsetsControllerCompat اضافه کنید. BEHAVIOR_SHOW_BARS_BY_SWIPE و BEHAVIOR_SHOW_BARS_BY_TOUCH کاهش می یابد. ( I17B61 )

نسخه 1.10.0-alpha01

11 ژانویه 2023

androidx.core:core:1.10.0-alpha01 و androidx.core:core-ktx:1.10.0-alpha01 منتشر می شود. نسخه 1.10.0-alpha01 شامل این تعهدات است.

تغییرات API

  • CallStyle به NotificationCompat اضافه می کند ( ID9A53 ، B/199294989 )
  • اضافه شده ثابت BuildCompat برای نسخه های پسوند SDK ( I6084C )
  • برای تنظیم تمرکز اولیه بر روی گره دسترسی ، API ها را اضافه کنید. ( id199a )
  • اضافه کردن API های جدید برای محدود کردن نرخ تغییر محتوا ( IF4EA0 )
  • روشهای سازگاری را برای API های جدید معرفی شده در Android 13 برای بسته ها ، بسته ها و اهداف اضافه می کند. برخی از امضاهای روش ParcelCompat به روز شده اند و برای تأیید امضای جدید ممکن است نیاز به تغییر منبع در بروزرسانی داشته باشد. ( i57e94 ، b/242048899 )
  • کاهش بازیافت اشیاء دسترسی. ما پیدا کرده ایم که تغییرات عملکرد حتی در قدیمی ترین نسخه های پشتیبانی شده ناچیز است. ( i0a961 )
  • به روز شده بازگرداندن نوع تهی از توابع مخفی مستهلک ( IBF7B0 )
  • اضافه بار اپراتور Times/Div برای Point و PointF ( I8E557 ، B/261574780 )

رفع اشکال

  • برای جلوگیری از استفاده از آن ، به AccessibilityEvent#TYPE_ANNOUNCEMENT اضافه کنید. ( i818bf )
  • مشخص کردن لیست ها باید 1 ردیف یا 1 ستون برای دسترسی داشته باشند ( IA1223 )

Core and Core-KTX نسخه 1.9.0

نسخه 1.9.0

7 سپتامبر 2022

androidx.core:core:1.9.0 و androidx.core:core-ktx:1.9.0 منتشر می شود. نسخه 1.9.0 شامل این تعهدات است.

تغییرات مهم از 1.8.0

  • به روز شده برای بهبود سازگاری با Android 13 ، از جمله تغییرات تهی و برابری با API های چارچوب
  • قبل از راه اندازی آنها ، IntentSanitizer برای ضد عفونی کردن اهداف ناامن اضافه کرد. ( ib0be5 )
  • پشتیبانی از BigPictureStyle را با استفاده از Icon ( ICE26D ) اضافه می کند
  • @RequiresPermission به API اضافه شده است که نیاز به اعطای مجوز POST_NOTIFICATIONS در SDK 33 و بالاتر دارند. ( IE542E )
  • برابری بهبود یافته بین Android 13 API های دسترسی به API و API های سازگار ( I93C97 ، I5A074 ، IEDF82 )

نسخه 1.9.0-RC01

24 آگوست 2022

androidx.core:core:1.9.0-rc01 و androidx.core:core-ktx:1.9.0-rc01 منتشر می شود. نسخه 1.9.0-RC01 شامل این تعهدات است.

رفع اشکال

  • IntentSanitizer.sanitizeByFiltering دیگر هنگام فیلتر کردن به ورود به سیستم نمی نویسد ( 69b3b55 )

نسخه 1.9.0-beta01

10 آگوست 2022

androidx.core:core:1.9.0-beta01 منتشر می شود. نسخه 1.9.0-BETA01 شامل این تعهدات است.

تغییرات API

  • سازگاری اضافه شده برای ACTION_SHOW_TEXT_SUGGESTIONS و is/setTextSelectable ( IEDF82 )
  • قبل از راه اندازی آنها ، IntentSanitizer برای ضد عفونی کردن اهداف ناامن اضافه کرد. ( ib0be5 )
  • پشتیبانی از BigPictureStyle را با استفاده از Icon ( ICE26D ، B/215583339 ) اضافه می کند
  • حاشیه نویسی به روز شده به روز شده ( I34CCE ، B/236498052 ، B/236498029 ، B/236497996 ، B/236497942 ، B/236497884 ، B/236497726 )
  • اضافه شده LocationManagerCompat.registerGnssMeasurementsCallback برای کار در مورد اشکالات Android R. ( IE0F6F )

رفع اشکال

  • @RequiresPermission به API اضافه شده است که نیاز به اعطای مجوز POST_NOTIFICATIONS در SDK 33 و بالاتر دارند. ( IE542E ، b/238790278 )
  • اضافه کردن پشتیبانی از API در T. "به Androidx-Platform-Dev" (( )
  • افزودن پشتیبانی از API معرفی شده در T. ( I358F1 )
  • typefaceCompate.Create ( TypefaceCompate.create(..., weight, italic) به سمت Typeface.create سکو باز می شود
  • ثابت های چارچوب دسترسی که قبلاً از Androidx غایب بودند.
  • ثابت های چارچوب دسترسی که قبلاً از Androidx غایب بودند ، اضافه شده است. ( I93C97 )

سهم خارجی

  • Typeface#create(Typeface, int, boolean) که امکان ایجاد نوع با وزن خاص از خانواده فونت را فراهم می کند ( I342DC )

نسخه 1.9.0-alpha05

15 ژوئن 2022

androidx.core:core:1.9.0-alpha05 و androidx.core:core-ktx:1.9.0-alpha05 منتشر می شود. نسخه 1.9.0-alpha05 در یک شعبه خصوصی قبل از انتشار ساخته شده و هیچ تعهد عمومی ندارد.

تغییرات API

  • به روزرسانی های تهی برای تراز کردن با سطح API نهایی در Tiramisu Beta 3 SDK
  • minCompileSdk اکنون 33 ساله است که با Tiramisu Beta 3 SDK هماهنگ است

نسخه 1.9.0-alpha04

18 مه 2022

androidx.core:core:1.9.0-alpha04 و androidx.core:core-ktx:1.9.0-alpha04 منتشر می شود. نسخه 1.9.0-alpha04 در برابر Android SDK قبل از انتشار ساخته شده است و سابقه ارتکاب در دسترس عمومی ندارد.

رفع اشکال

  • استهلاک BuildCompat.isAtLeastT() و همراه با چک های SDK_INT را برگردانید

نسخه 1.9.0-alpha03

27 آوریل 2022

androidx.core:core:1.9.0-alpha03 و androidx.core:core-ktx:1.9.0-alpha03 منتشر می شود. نسخه 1.9.0-alpha04 شامل کلیه تعهدات از 1.8.0-beta01 است ، اما در برابر Android 13 Beta 1 ساخته شده است.

این نسخه برای کامپایل نیاز به Android 13 Beta 1 دارد و تضمین نمی شود که با پیش نمایش های آینده توسعه دهنده سازگار باشد.

نسخه 1.9.0-alpha02

23 مارس 2022

androidx.core:core:1.9.0-alpha02 و androidx.core:core-ktx:1.9.0-alpha02 منتشر می شود. نسخه 1.9.0-alpha02 شامل کلیه تعهدات از 1.8.0-alpha06 است ، اما در برابر Tiramisu DP2 ساخته شده است.

نسخه 1.9.0-alpha01

23 فوریه 2022

androidx.core:core:1.9.0-alpha01 و androidx.core:core-ktx:1.9.0-alpha01 منتشر می شود. نسخه 1.9.0-alpha01 از یک شعبه داخلی ساخته شده است و تعهدات قابل مشاهده ای ندارد.

این نسخه برای کامپایل نیاز به Android Tiramisu DP1 دارد و تضمین نمی شود که با پیش نمایش های توسعه دهنده آینده سازگار باشد.

ویژگی های جدید

  • سازگار با Android Tiramisu DP1.

Core and Core-KTX نسخه 1.8.0

نسخه 1.8.0

1 ژوئن 2022

androidx.core:core:1.8.0 و androidx.core:core-ktx:1.8.0 منتشر می شود. نسخه 1.8.0 شامل این تعهدات است.

تغییرات مهم از 1.7.0

  • پاکسازی قابل توجهی از حاشیه نویسی های تهی برای بهبود قابلیت استفاده کوتلین
  • بهبود برابری پلتفرم در ShortcutInfoCompat ، NotificationCompat و موارد دیگر
  • رابط های جدید برای اجازه دادن به مؤلفه ها می توانند وقایع تغییر تصویر در تصویر و چند پنجره را تغییر دهند ، که توسط ComponentActivity در کتابخانه فعالیت اجرا می شوند
  • پیشرفت در روش های پاسخ به تماس MenuProvider ، از جمله onPrepareMenu و onMenuClosed
  • مسئله ثابت که FileProvider با IllegalArgumentException در دستگاه های خاص شکست می خورد
  • مسئله ثابت که در آن TypefaceCompat وزن تایپ نادرست را در API 29+ اعمال کرد ( B/194553426 ) به لطف سهم Rikkaw

نسخه 1.8.0-RC02

18 مه 2022

androidx.core:core:1.8.0-rc02 و androidx.core:core-ktx:1.8.0-rc02 منتشر می شود. نسخه 1.8.0-RC02 شامل این تعهدات است.

رفع اشکال

  • بازیگران OnSharedElementsReadyListener به کلاس پلت فرم کاملاً واجد شرایط برای جلوگیری از ClassCastException ( 0029FED )

نسخه 1.8.0-RC01

11 مه 2022

androidx.core:core:1.8.0-rc01 و androidx.core:core-ktx:1.8.0-rc01 منتشر می شود. نسخه 1.8.0-RC01 شامل این تعهدات است.

تغییرات API

  • بررسی BuildCompat برای چرخه قبل از انتشار بعدی ( IF5A8F ، B/229859122 )
  • به روز شده BuildCompat.isAtLeastT() برای مقدار نهایی SDK_INT. ( iffae0 )

نسخه 1.8.0-beta01

20 آوریل 2022

androidx.core:core:1.8.0-beta01 و androidx.core:core-ktx:1.8.0-beta01 از 1.8.0-alpha07 بدون تغییر منتشر می شوند. نسخه 1.8.0-beta01 شامل این تعهدات است.

نسخه 1.8.0-alpha07

6 آوریل 2022

androidx.core:core:1.8.0-alpha07 و androidx.core:core-ktx:1.8.0-alpha07 منتشر می شود. نسخه 1.8.0-alpha07 شامل این تعهدات است.

رفع اشکال

  • TypefaceCompat اکنون به اطلاعات سبک درخواست شده و بارگذاری شده در API 29+ احترام می گذارد. این یک تغییر رفتاری است که فونت های بارگذاری شده FontWeight.Normal استفاده نمی کنند. وزن یا FontWeight.Bold ( #212 ، b/194553426 )

سهم خارجی

  • با تشکر از Rikkaw برای اطمینان از اینکه ما به درستی وزن تایپ را در TypefaceCompat در API 29+ اعمال می کنیم. #212

نسخه 1.8.0-alpha06

23 مارس 2022

androidx.core:core:1.8.0-alpha06 منتشر می شود. نسخه 1.8.0-alpha06 شامل این تعهدات است.

تغییرات API

  • رابط MenuProvider در حال حاضر شامل پاسخ به تماس onPrepareMenu() است که هنگام اصلاح یک منو به صورت پویا و باید نشان داده شود. ( IE85F9 )
  • رابط MenuProvider اکنون شامل روش onMenuClosed() است که باید هر زمان که یک منو بسته شود ، استفاده شود. ( IF5A16 )
  • به روز شده IconCompat#getResId برای داشتن نوع حاشیه نویسی منابع مناسب برای مطابقت با روش مربوطه در چارچوب در Icon#getResId ( i49700 )
  • تغییر قبلی تکیه فقط به نمای برای WindowInsetsControllerCompat را برگردانید ، و دوباره به پنجره ای نیاز دارید که برای مدیریت برخی از پرچم های پنجره مورد نیاز است. ViewCompat.getWindowInsetsController به نفع WindowCompat.getInsetsController برای اطمینان از استفاده از پنجره صحیح (مانند اینکه نمای در گفتگو است). ( i660ae ، b/219572936 )
  • ناپایدار بودن در Core و AppCompat برای مطابقت با Tiramisu DP2 ( I0CBB7 )
  • روشی را به BitmapCompat برای پایین آمدن نرم تر از مپیمپه ها اضافه می کند. ( IB706C )
  • حاشیه نویسی nullability به ActivityCompat.requestDragAndDropPermissions اضافه شده است ( I0F2B0 ، B/206113378 )
  • یک کار در اطراف کار اضافه شده برای FileProvider برای OEM ها که متا داده ها را از مانیفست سلب می کند. ( i82f63 )

رفع اشکال

  • تغییرات دید والدین را برای وضعیت دید صفحه A11y برای <p ( i8e04f ) در نظر بگیرید

نسخه 1.8.0-alpha05

23 فوریه 2022

androidx.core:core:1.8.0-alpha05 و androidx.core:core-ktx:1.8.0-alpha05 منتشر می شود. نسخه 1.8.0-alpha05 شامل این تعهدات است.

تغییرات API

  • قابلیت تهیجات به روز شده برای کلاسهای Androidx.core.os ( IF18CD ، B/206113622 )
  • قابلیت تهیجات به روز شده برای کلاسهای Androidx.core.app ( I657EB ، B/206113302 )
  • به روزرسانی ناپذیری برای کلاسهای Androidx.core.text ( I08329 ، B/206113384 )
  • توابع ExtraData اضافه شده به AccessibilityNodeInfoCompat ( IF2FC7 ، b/137789185 )
  • اضافه بار ARG صفر برای bundleOf() برای جلوگیری از تخصیص آرایه نامرئی هنگام ایجاد یک بسته نرم افزاری خالی ( IF7089 )
  • Continuation<T>.asFoo() آداپتورها برای ایجاد تماس تلفنی برای نوشتن بسته بندی های تعلیق برای API های اندرویدی که انواع پاسخ به تماس مشترک/عمومی را می پذیرند ( I6615E )
  • برای جلوگیری از استثنائات ، روش Drawable.toBitmapOrNull قابل تغییر اضافه شده است.

نسخه 1.8.0-alpha04

9 فوریه 2022

androidx.core:core:1.8.0-alpha04 و androidx.core:core-ktx:1.8.0-alpha04 منتشر می شود. نسخه 1.8.0-alpha04 شامل این تعهدات است.

تغییرات API

  • رابط OnPictureInPictureModeChangedProvider را اضافه می کند تا به هر مؤلفه ای امکان دریافت وقایع تغییر حالت تصویر در تصویر را بدهد. این توسط ComponentActivity در فعالیت 1.5.0-alpha02 اجرا می شود. ( i9f567 )
  • رابط OnMultiWindowModeChangedProvider را اضافه می کند تا به هر مؤلفه ای امکان دریافت وقایع تغییر حالت چند پنجره را بدهد. این توسط ComponentActivity در فعالیت 1.5.0-alpha02 اجرا می شود. ( i62d91 )
  • پاکسازی قابلیت تهویه برای زیر مجموعه Androidx.core API. ( IA0E2F ، B/206113818 )

نسخه 1.8.0-alpha03

26 ژانویه 2022

androidx.core:core:1.8.0-alpha03 و androidx.core:core-ktx:1.8.0-alpha03 منتشر می شود. نسخه 1.8.0-alpha03 شامل این تعهدات است.

تغییرات API

  • WindowInsetsControllerCompat تبدیل شده به یک منظره به جای یک پنجره یا WindowInsetsController Platform. این باعث بهبود رفتار با دیالوگ ها ، نشان دادن IME می شود و راه حل روشهای ایجاد نشده را تضمین می کند ( B/180881870 ). ( I29264 ، B/207401542 ، B/210121779 )
  • پاکسازی قابلیت تهویه برای زیر مجموعه Androidx.core API. ( IB2583 ، b/206113818 )
  • باطل ثابت پارامترهای performAccessibilityAction ( IBBAFE )
  • روش اضافه شده برای کار در مورد موضوعات ColorStateList ناشی از ذخیره سازی موضوع و موضوع. Applystyle ( I9188B ، B/207739887 )
  • API دید میانبر را برای خوانایی بهتر به روز کنید ( IA58DF )
  • اضافه بار Zero-ARG برای persistableBundleOf() برای جلوگیری از تخصیص آرایه غیرضروری هنگام ایجاد یک بنگل خالی ( ICD7A4 )

نسخه 1.8.0-alpha02

15 دسامبر 2021

androidx.core:core:1.8.0-alpha02 و androidx.core:core-ktx:1.8.0-alpha02 منتشر می شود. نسخه 1.8.0-alpha02 شامل این تعهدات است.

تغییرات API

  • روشهای آزمایشی BuildCompat برای SDK های آینده اضافه می کند ( IAFD82 ، B/207528937 )
  • روشهای ابزار را برای تبدیل سند به میانبر و برعکس اضافه کنید. ( id512c )
  • API دیدنی را برای میانبر برای خوانایی بهتر به روز کنید ( I86DEC )
  • رابط های OnNewIntentProvider ، OnConfigurationChangedProvider و onTrimMemoryProvider را اضافه می کند که می تواند برای نشان دادن این که فعالیت سفارشی شما می تواند این رویدادها را به هر مؤلفه ای که شنونده اضافه می کند ، اعزام کند. ( IF1F8B ، IF623B ، IA9295 )

نسخه 1.8.0-alpha01

1 دسامبر 2021

androidx.core:core:1.8.0-alpha01 و androidx.core:core-ktx:1.8.0-alpha01 منتشر می شود. نسخه 1.8.0-alpha01 شامل این تعهدات است.

تغییرات API

  • تمیز کردن قابل توجه حاشیه نویسی های تهی
  • برای تعیین اینکه آیا میانبر باید از پرتابگر پنهان شود ، یک ShortcutInfoCompat.Builder#setHiddenFromLauncher جدید API را اضافه کرده است. ( IA2A71 )
  • افزودن NotificationCompat.Action#setAuthenticationRequired ( IEEAFA ، B/202172887 )
  • اضافه کردن NotificationCompat.BigPictureStyle.setContentDescription ( i3b483 )
  • اضافه شده Map<String, Any?>.toPersistableBundle() ( i82c86 )

رفع اشکال

  • فاصله پیمایش را برای عملکرد دسترسی تنظیم می کند ( IF74AE )
  • کد زبان هارد کد شده را در Javadocs حذف کرد ( IE5D68 )

Core and Core-KTX نسخه 1.7

نسخه 1.7.0

27 اکتبر 2021

androidx.core:core:1.7.0 و androidx.core:core-ktx:1.7.0 منتشر می شود. نسخه 1.7.0 شامل این تعهدات است.

تغییرات مهم از 1.6.0

  • پشتیبانی از تعامل با SDK 30 و ابطال مجوز و ویژگی های خواب زمستانی برنامه را اضافه می کند ، با استفاده از پشتیبان به SDK 23 در دستگاه های پشتیبانی شده. برای کسب اطلاعات بیشتر به intentcompat.createmanageunused apprestrestrictionsintent مراجعه کنید.
  • برای اطلاعات بیشتر پشتیبانی از پشتیبانی منو را در مؤلفه ها اضافه می کند ، برای اطلاعات بیشتر به MenuProvider مراجعه کنید.

نسخه 1.7.0-RC01

13 اکتبر 2021

androidx.core:core:1.7.0-rc01 و androidx.core:core-ktx:1.7.0-rc01 منتشر می شود. نسخه 1.7.0-RC01 شامل این تعهدات است.

نسخه 1.7.0-beta02

29 سپتامبر 2021

androidx.core:core:1.7.0-beta02 و androidx.core:core-ktx:1.7.0-beta02 منتشر شد. نسخه 1.7.0-beta02 شامل این تعهدات است.

رفع اشکال

  • MenuHostHelper اکنون هنگامی که یک MenuProvider قبل از DESTROYED چرخه عمر برداشته می شود ، تمام چرخه های حیات را به درستی حذف می کند. ( IBE2E1 ، B/199788262 )
  • توضیحات مربوط به محدودیت های برنامه بلااستفاده را به روز کنید تا برای توسعه دهندگان واضح تر شود ( I2858E )

نسخه 1.7.0-beta01

15 سپتامبر 2021

androidx.core:core:1.7.0-beta01 و androidx.core:core-ktx:1.7.0-beta01 منتشر می شود. نسخه 1.7.0-beta01 شامل این تعهدات است.

تغییرات API

  • LocationRequestCompat.toProvider اکنون می تواند NULL ( IB5A09 ) را برگرداند

نسخه 1.7.0-alpha02

1 سپتامبر 2021

androidx.core:core:1.7.0-alpha02 و androidx.core:core-ktx:1.7.0-alpha02 منتشر می شود. نسخه 1.7.0-alpha02 شامل این تعهدات است.

ویژگی های جدید

  • ساده سازی و اتحاد چگونگی مدیریت منوهای آگاه از چرخه عمر ، برای اطلاعات بیشتر به منوپروو مراجعه کنید.

تغییرات API

  • رابط MenuHost اضافه شده برای مؤلفه هایی که مدیریت MenuProvider مدیریت می کنند اضافه شده است. ( i83f23 )
  • اضافه شده رابط MenuProvider که می تواند مورد استفاده قرار گیرد برای نشان دادن اینکه یک مؤلفه در حال تهیه موارد منو است. ( if8a40 )
  • برای ساده کردن اجرای MenuHost در یک مؤلفه ، MenuHostHelper اضافه شده است. ( i74f4a )
  • اضافه شده LocationRequestCompat.toLocationRequest() برای تبدیل به کلاس پلتفرم. ( i71e75 )
  • کلاس DocumentsContractCompat را برای برابری با API های پلتفرم اضافه کرد. ( ia9e91 )
  • NotificationCompat.BigPictureStyle.showBigPictureWhenCollapsed(boolean) برای برابری با API های پلتفرم اضافه شده است. ( i8cd88 )
  • مسئله ای را برطرف کرد که در آن checkSelfPermission از PermissionChecker شاخص های میکروفون/بادامک را نشان می دهد. ( i572a9 )
  • حاشیه نویسی صریح موضوعی را برای setImportantForAccessibility اضافه کرد. ( i990fa )
  • به روز شده getUnusedAppRestrictionsStatus برای مطابقت با دستورالعمل های API. ( i28a18 )
  • قابلیت های تکمیل شده برای getUnusedAppRestrictionsStatus . ( i7c2d6 )
  • پشتیبانی اضافه شده به LocationCompat برای دقت عمودی ، دقت سرعت و دقت تحمل. ( i1d3e9 )
  • توابع سازگاری ریاضی را به MathUtils اضافه کرد. ( IDB590 )
  • یکپارچه OnReceiveContentListener در API های سازگار. ( IC6914 ، b/173814913 )
  • ActivityCompat#isLaunchedFromBubble برای برابری پلتفرم. ( i6961a )
  • اضافه شده LocationRequest و LocationManager.hasProvider() برای برابری پلتفرم. ( i4f3e4 )

رفع اشکال

  • استفاده از لامبدا در PackageManagerCompat را برای جلوگیری از اشکال LambdaDesugaring حذف کرد. ( i36c87 )

نسخه 1.7.0-alpha01

30 ژوئن 2021

androidx.core:core:1.7.0-alpha01 و androidx.core:core-ktx:1.7.0-alpha01 منتشر می شود. نسخه 1.7.0-alpha01 شامل این تعهدات است.

تغییرات API

  • یک API را برای پیکربندی یک اتصال ورودی برای استفاده از View.performReceiveContent برای رسیدگی به تماس های IME به InputConnection.commitContent اضافه کرد. ( i3a2ad )
  • عملکرد دو API در یک ( I261DF )
  • عملکرد دو API اصلاح شده برای استفاده با ویژگی های محدود کننده برنامه استفاده نشده (به عنوان مثال ابطال مجوز ، خواب زمستانی) ( IC1616 )
  • سه API برای استفاده با ویژگی های محدود کننده برنامه استفاده نشده اضافه شده است (به عنوان مثال ابطال مجوز ، خواب زمستانی) ( I606D7 )
  • حاشیه نویسی Nullability به چندین کلاس سازگار اضافه شده است ( I2802A ، B/188452327 ، B/189962089 )
  • سه API برای استفاده با ویژگی های محدود کننده برنامه استفاده نشده اضافه شده است (به عنوان مثال ابطال مجوز ، خواب زمستانی) ( ICAFEE )
  • خطاب به مسائل حاشیه نویسی از دست رفته در ViewCompat ( IC346E ، B/188453571 )

نمای از راه دور اصلی نسخه 1.1

نسخه 1.1.0

12 ژوئن 2024

androidx.core:core-remoteviews:1.1.0 منتشر می شود. نسخه 1.1.0 شامل این تعهدات است.

تغییرات مهم از 1.0.0

  • Core RemoteViews به 1.1.0 پایدار حرکت می کند.

نسخه 1.1.0-RC01

14 مه 2024

androidx.core:core-remoteviews:1.1.0-rc01 منتشر شده است. نسخه 1.1.0-RC01 شامل این تعهدات است.

ویژگی های جدید

  • حرکت از RemoteViews 1.1.0 برای انتشار نامزد.

رفع اشکال

  • به عنوان minSdkVersion پیش فرض کتابخانه های Androidx به 21 بروید. ( i6ec7f )

نسخه 1.1.0-beta02

17 آوریل 2024

androidx.core:core-remoteviews:1.1.0-beta02 منتشر می شود. از آخرین نسخه ، هیچ تغییر اساسی وجود ندارد.

نسخه 1.1.0-beta01

3 آوریل 2024

androidx.core:core-remoteviews:1.1.0-beta01 منتشر شده است. نسخه 1.1.0-beta01 شامل این تعهدات است.

نسخه 1.1.0-alpha01

7 فوریه 2024

androidx.core:core-remoteviews:1.1.0-alpha01 منتشر شده است. نسخه 1.1.0-alpha01 شامل این تعهدات است.

ویژگی های جدید

  • دست انداز نسخه برای مطابقت با نسخه های وابستگی.

نمای از راه دور اصلی نسخه 1.0

نسخه 1.0.0

6 سپتامبر 2023

androidx.core:core-remoteviews:1.0.0 منتشر می شود. نسخه 1.0.0 شامل این تعهدات است.

ویژگی های اصلی 1.0.0

  • remoteviews را به نسخه پایدار 1.0.0 منتقل کنید

نسخه 1.0.0-beta04

10 مه 2023

androidx.core:core-remoteviews:1.0.0-beta04 منتشر می شود. نسخه 1.0.0-beta04 شامل این تعهدات است.

رفع اشکال

  • ArrayOutOfBoundsException را در موارد گوشه ای در کتابخانه سازگار برطرف می کند.

نسخه 1.0.0-beta03

5 اکتبر 2022

androidx.core:core-remoteviews:1.0.0-beta03 منتشر می شود. نسخه 1.0.0-beta03 شامل این تعهدات است.

ویژگی های جدید

  • هیچ ویژگی جدیدی اضافه نشده است.

نسخه 1.0.0-beta02

10 آگوست 2022

androidx.core:core-remoteviews:1.0.0-beta02 منتشر می شود. نسخه 1.0.0-beta02 شامل این تعهدات است.

رفع اشکال

  • اصلاح نسخه

نسخه 1.0.0-beta01

29 ژوئن 2022

androidx.core:core-remoteviews:1.0.0-beta01 منتشر شده است. نسخه 1.0.0-beta01 شامل این تعهدات است.

ویژگی های جدید

  • Core-RemoteViews را به بتا منتقل می کند.

نسخه 1.0.0-alpha03

23 فوریه 2022

androidx.core:core-remoteviews:1.0.0-alpha03 منتشر می شود. نسخه 1.0.0-alpha03 شامل این تعهدات است.

رفع اشکال

  • رفع زیرساخت ها.

نسخه 1.0.0-alpha02

26 ژانویه 2022

androidx.core:core-remoteviews:1.0.0-alpha02 منتشر می شود. نسخه 1.0.0-alpha02 شامل این تعهدات است.

نسخه 1.0.0-alpha01

15 دسامبر 2021

androidx.core:core-remoteviews:1.0.0-alpha01 منتشر شده است. نسخه 1.0.0-alpha01 شامل این تعهدات است.

ویژگی های جدید

  • Backport از RemoteViews.setRemoteAdapter جدید API.
  • عملیات پسوند کوتلین برای جلوگیری از تأمل در هنگام فراخوانی روشهای RemoteViews .
  • کتابخانه با عملکردهای یاور برای کار با API های اندازه App Widget .

عملکرد اصلی نسخه 1.0

نسخه 1.0.0

10 ژانویه 2024

androidx.core:core-performance:1.0.0 ، androidx.core:core-performance-play-services:1.0.0 و androidx.core:core-performance-testing:1.0.0 منتشر می شود. نسخه 1.0.0 شامل این تعهدات است.

ویژگی های اصلی 1.0.0

  • عملکرد اصلی - مکانیسم قابل اعتماد را برای توسعه دهندگان فراهم می کند تا سطح عملکرد دستگاه را در زمان اجرا شناسایی کنند تا به بهینه سازی تجربه کاربر یک برنامه بر این اساس کمک کند.
  • خدمات اصلی عملکرد عملکرد -اجرای خاص Google ارائه اطلاعات کلاس عملکرد رسانه ای به روز برای دستگاه های آزمایش شده و نسخه های سیستم عامل.
  • تست عملکرد هسته - آزمون برای عملکرد اصلی دو برابر می شود.

رفع اشکال

  • هنگام اولیه سازی PlayServicesDevicePerformance که در نسخه 1.0.0-beta2 یافت می شود ، یک تصادف را برطرف کرد. ( b/318803680 )

نسخه 1.0.0-RC01

13 دسامبر 2023

androidx.core:core-performance:1.0.0-rc01 ، androidx.core:core-performance-play-services:1.0.0-rc01 و androidx.core:core-performance-testing:1.0.0-rc01 منتشر می شود. نسخه 1.0.0-RC01 شامل این تعهدات است.

ویژگی های جدید

  • عملکرد اصلی - اجرای کتابخانه به روز شده. DevicePerformance
  • خدمات بازی اصلی عملکرد - اجرای اولیه کتابخانه. (Google Special DevicePerformance اجرای).
  • آزمایش عملکرد اصلی - اجرای اولیه کتابخانه. (شامل دو برابر تست برای عملکرد اصلی است).

تغییرات API

  • انتشار اولیه RC از API خاص DevicePerformance .

نسخه 1.0.0-beta02

4 اکتبر 2023

androidx.core:core-performance:1.0.0-beta02 ، androidx.core:core-performance-play-services:1.0.0-beta02 و androidx.core:core-performance-testing:1.0.0-beta02 منتشر می شود. نسخه 1.0.0-beta02 شامل این تعهدات است.

ویژگی های جدید

  • اصلاح مجدد مربوط به آزمون.

تغییرات API

  • الگوی استفاده API بدون تغییر.

نسخه 1.0.0-beta01

6 سپتامبر 2023

androidx.core:core-performance:1.0.0-beta01 ، androidx.core:core-performance-play-services:1.0.0-beta01 و androidx.core:core-performance-testing:1.0.0-beta01 منتشر می شود. نسخه 1.0.0-beta01 شامل این تعهدات است.

ویژگی های جدید

  • عملکرد اصلی - اجرای کتابخانه به روز شده. DevicePerformance
  • خدمات بازی اصلی عملکرد - اجرای اولیه کتابخانه. (Google Special DevicePerformance اجرای).
  • آزمایش عملکرد اصلی - اجرای اولیه کتابخانه. (شامل دو برابر تست برای عملکرد اصلی است).

تغییرات API

  • انتشار اولیه بتا از API خاص DevicePerformance .

نسخه 1.0.0-alpha03

23 آگوست 2023

androidx.core:core-performance:1.0.0-alpha03 ، androidx.core:core-performance-play-services:1.0.0-alpha03 و androidx.core:core-performance-testing:1.0.0-alpha03 منتشر می شوند. نسخه 1.0.0-alpha03 شامل این تعهدات است.

ویژگی های جدید

  • اجرای اولیه کتابخانه از core-performance-testing ، حاوی دو برابر آزمون برای عملکرد هسته.
  • اجرای اولیه کتابخانه یا core-performance-play-services . اجرای خاص Google اطلاعات کلاس عملکرد رسانه را به روز ارائه می دهد.

تغییرات API

  • ماژول اختیاری را با ارائه کلاس عملکرد رسانه از خدمات Google Play اضافه کنید.
  • سازندگان عملکرد اصلی برای پشتیبانی از اجرای اختیاری تغییر کردند.

نسخه 1.0.0-alpha02

23 مارس 2022

androidx.core:core-performance:1.0.0-alpha02 منتشر می شود. نسخه 1.0.0-alpha02 شامل این تعهدات است.

ویژگی های جدید

  • مکانیسم آسان و قابل اعتماد را برای توسعه دهندگان فراهم کنید تا در زمان اجرا سطح عملکرد دستگاه به منظور ارائه یک تجربه برنامه بهینه شده شناسایی شوند.
  • این نسخه اولیه از لیستی از دستگاههای آزمایش شده استفاده می شود که به مقادیر کلاس عملکرد بالاتر از سطح اعلام شده در ساخت.

نسخه 1.0.0-alpha01

15 دسامبر 2021

androidx.core:core-performance:1.0.0-alpha01 منتشر می شود. نسخه 1.0.0-alpha01 شامل این تعهدات است.

Core Splashscreen نسخه 1.2

نسخه 1.2.0-beta02

23 آوریل 2025

androidx.core:core-splashscreen:1.2.0-beta02 منتشر می شود. نسخه 1.2.0-beta02 شامل این تعهدات است.

نسخه 1.2.0-beta01

26 فوریه 2025

androidx.core:core-splashscreen:1.2.0-beta01 منتشر می شود. نسخه 1.2.0-beta01 شامل این تعهدات است.

نسخه 1.2.0-alpha02

4 سپتامبر 2024

androidx.core:core-splashscreen:1.2.0-alpha02 منتشر می شود. نسخه 1.2.0-alpha02 شامل این تعهدات است.

رفع اشکال

  • ویژگی isLightTheme به مضامین SplashScreen اضافه کنید ( I01000 ، B/238522114 )
  • دریافت نماد Splashscreen توسط AppCompatResources ( IB05E ، B/289242141 ، B/263972037 )
  • حذف دستی دسترسی به دسترسی به API های پلت فرم جدید را حذف کرد زیرا این اتفاق به طور خودکار از طریق مدل سازی API هنگام استفاده از R8 با AGP 7.3 یا بالاتر (به عنوان مثال نسخه R8 3.3) و برای همه ساخت ها هنگام استفاده از AGP 8.1 یا بعد (به عنوان مثال نسخه D8 8.1) اتفاق می افتد. به مشتریانی که از AGP استفاده نمی کنند توصیه می شود نسخه 8.1 یا بعد از آن را به روز کنید. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( IEB9AE ، B/345472586 )

نسخه 1.2.0-alpha01

17 آوریل 2024

androidx.core:core-splashscreen:1.2.0-alpha01 منتشر می شود. نسخه 1.2.0-alpha01 شامل این تعهدات است.

رفع اشکال

  • حالت برش Base.Theme.SplashScreen را از زمان V30 تغییر دهید. ( IDFC3F )
  • بازنشانی enforceNavigationBarContrast به مقدار پیش فرض سیستم از API 31 ، بنابراین موضوع صفحه نمایش Splash موضوع فعالیت را فاسد نمی کند. از API 31+ ، صفحه نمایش چلپ چلوپ به عنوان PhoneWindow ایجاد نمی شود ، بنابراین به ارث بردن مقدار از API 29 ضروری نیست. همچنین اقدامات ناشایست را از applyAppSystemUiTheme حذف کنید ، زیرا enforceNavigationBarContrast قبلاً می تواند از طرف برنامه در حین راه اندازی تغییر کند ، آن را از ویژگی No attribution حس نمی کند. ( IC2CD9 ))
  • نوار ناوبری پیش فرض را تنظیم کنید که به موضوع روز/شب احترام می گذارد. بنابراین برای پلت فرم API 33+ ، موضوع صفحه Splash هنگام برداشتن صفحه چلپ چلوپ باعث سوسو زدن نمی شود. ( i8023a )
  • موضوع فعالیت را پس از دریافت نمای صفحه نمایش Splash از API 33 بازنویسی نکنید. ( I10587B )

نسخه اصلی Splashscreen نسخه 1.1

نسخه 1.1.0-RC01

3 آوریل 2024

androidx.core:core-splashscreen:1.1.0-rc01 منتشر شده است. نسخه 1.1.0-RC01 شامل این تعهدات است.

رفع اشکال

  • ابعاد پیش فرض برای دستگاه سایش با نماد 48x48DP ( IB8DE8 ، B/256678037 )
  • رفع SplashScreenView#getIconView علت خرابی NPE ( 6ABFD6 ، B/243457485 )

نسخه 1.1.0-alpha02

6 سپتامبر 2023

androidx.core:core-splashscreen:1.1.0-alpha02 منتشر می شود. نسخه 1.1.0-alpha02 شامل این تعهدات است.

رفع اشکال

  • ابعاد پیش فرض برای دستگاه سایش با نماد 48x48DP ( IB8DE8 ، B/256678037 )

به روزرسانی وابستگی

  • Core-Splashscreen اکنون در برابر API 34 کامپایل شده است.

نسخه 1.1.0-alpha01

22 فوریه 2023

androidx.core:core-splashscreen:1.1.0-alpha01 منتشر می شود. این در یک شاخه داخلی توسعه یافته است.

رفع اشکال

  • هنگامی که SplashScreenView#getIconView بازگشت NULL ، یک NullPointerException را برطرف کرد. ( E231AB )

Core Splashscreen نسخه 1.0

نسخه 1.0.1

19 آوریل 2023

androidx.core:core-splashscreen:1.0.1 منتشر می شود. نسخه 1.0.1 شامل این تعهدات است.

رفع اشکال

  • ابعاد پیش فرض برای دستگاه سایش با نماد 48x48DP ( IB8DE8 ، B/256678037 )

نسخه 1.0.0

27 جولای 2022

کتابخانه اصلی SplashScreen صفحه نمایش جدید Android 12 Splash را به کلیه دستگاه های API 23 می بخشد. با استفاده از کتابخانه صفحه نمایش Splash ، برنامه شما به هیچ فعالیت صفحه نمایش چلپ چلوپ نیاز ندارد و از API های مناسب برای راه اندازی سریع برنامه شما استفاده می کند. برای استفاده از آن ، به سادگی مراحل ذکر شده در راهنمای ما را دنبال کنید. برای کسب اطلاعات بیشتر در مورد صفحه نمایش Splash Android 12 ، به اسناد رسمی مراجعه کنید.

androidx.core:core-splashscreen:1.0.0 منتشر می شود. نسخه 1.0.0 شامل این تعهدات است.

نسخه 1.0.0-RC01

18 مه 2022

androidx.core:core-splashscreen:1.0.0-rc01 منتشر می شود. نسخه 1.0.0-RC01 شامل این تعهدات است.

  • از آخرین نسخه بتا هیچ تغییری وجود ندارد.

نسخه 1.0.0-beta02

23 مارس 2022

androidx.core:core-splashscreen:1.0.0-beta02 منتشر می شود. نسخه 1.0.0-beta02 شامل این تعهدات است.

رفع اشکال

  • Lateinit property platformView has not been initialized ( B/214835299 )

سهم خارجی

  • مشکل ارائه را در MIUI با حالت تاریک برطرف کنید و به صراحت android:animateLayoutChanges به False برای جلوگیری از انیمیشن محو هنگام حذف صفحه چلپ چلوپ در OnExitAnimationListener ( شماره 327 )

نسخه 1.0.0-beta01

12 ژانویه 2022

androidx.core:core-splashscreen:1.0.0-beta01 منتشر می شود. نسخه 1.0.0-beta01 شامل این تعهدات است.

رفع اشکال

  • HANTRY حالت شب بهتر تضمین می کند که هنگام استفاده از پارامترهای پیش فرض در تمام API ها ، حالت شب انجام می شود. 2D1D182

اشکالات معرفی شده در صفحه جدید چلپ چلوپ در Android 12 را برطرف می کند:

  • رفع سوسو سیستم در API 31 را برطرف کنید: اطمینان حاصل کنید که میله های سیستم هنگام شخصی سازی انیمیشن خروجی سوسو نمی زنند. 5A75362
  • هنگام استفاده از OnexitanimationListener ، دست زدن به Insets را برطرف کنید: اطمینان حاصل می کند که هنگام استفاده از OnexitanimationListener ، محتوا پرش نمی کند. 4C8F264

نسخه 1.0.0-alpha02

29 سپتامبر 2021

androidx.core:core-splashscreen:1.0.0-alpha02 منتشر می شود. نسخه 1.0.0-alpha02 شامل این تعهدات است.

ویژگی های جدید

  • پشتیبانی بهتر از insets: صفحه نمایش چلپ چلوپ اکنون صفحه نمایش کامل را در تمام API ها نشان می دهد حتی اگر OnExitAnimationListener تنظیم شود.
  • postSplashScreenTheme اختیاری است: شما می توانید قبل از onCreate() به سادگی با activity.setTheme() () تماس بگیرید تا بعد از نمایش صفحه چلپ چلوپ ، موضوع برنامه خود را تنظیم کنید.
  • Backward support of the windowSplashScreenIconBackgroundColor attribute: using Theme.SplashScreen.IconBackground and windowSplashScreenIconBackgroundColor , 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

رفع اشکال

  • Make postSplashScreenTheme optional ( I8c4bf )

Version 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

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 new com.google.android.gms:play-services-appindex library. This version of the library is not compatible with com.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 new com.google.android.gms:play-services-appindex library. Note that this version of the library is not compatible with com.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. هیچ ویژگی جدیدی وجود ندارد.

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. هیچ ویژگی جدیدی وجود ندارد.

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 to com.google.android.gms:play-services-appindex . Developers who use this new version should not externally depend on com.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

نسخه 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 from ContextCompat , 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

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 and SubscriptionManagerCompat ( I5568d )
  • Remove deprecated addCapabilityBinding method from ShortcutInfoCompat ( Ie8f70 )
  • Add addCapabilityBinding with parameters and addCapabilityBinding without parameters setters to ShortcutInfoCompat.Builder , deprecated old addCapabilityBinding ( I90686 )
  • Add LocationCompat class and LocationManagerCompat.getCurrentLocation() ( I78d9a )
  • Deprecated ModeCompat.isNative which is replaced by DisplayCompat.getMode . ( I9a6a2 )
  • Added ContextCompat.getAttributionTag() and UserHandleCompat.getUserHandleForUid() ( Iea486 )

External Contribution

  • Backport tintable background and check mark for CheckedTextView ( I8575c )

Version 1.6.0-alpha01

March 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.

Version 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 .

Version 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 with androidx.core ; you can start using ShortcutManagerCompat 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 by ShortcutManagerCompat to donate shortcuts to Firebase App Index.

Core and Core-ktx Version 1.5.0

نسخه 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 and WindowInsetsCompat 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.

رفع اشکال

Version 1.5.0-rc01

March 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 by DisplayCompat.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() from OnReceiveContentListener ; now MIME types are passed as an additional arg on the ViewCompat 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 to view.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 the BigPictureStyle for that notification on newer OS versions. ( Ic623d )

External Contribution

  • 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 to getCachedFont ( 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 )

External Contribution

  • 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 new ime() 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 the adjustResize window soft input mode . If you're instead using the adjustPan mode, it should work reliably back to API 14.

تغییرات API

  • Added ObjectsCompat#toString(Object, String) . This offers the behavior of Objects#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 and NotificationCompat.MessagingStyle.addHistoricMessage ( I62bb6 )
  • Update Notification documentation ( I1293f )
  • Fix nullability of NotificationCompat.Builder ( I932e3 )
  • Added NotificationChannelCompat and NotificationChannelGroupCompat ( Icc3b6 )
  • Add addExtraDataToAccessibilityNodeInfo to AccessibilityNodeProviderCompat ( I26575 )
  • Update WindowInsetsCompat to Android 11 APIs ( I3df9e )

External Contribution

  • Add Uri overloads for MailTo 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 , and Notification 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 for View#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

نسخه 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 implements hashCode() and equals() 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 in NotificationCompat
  • 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 and InputConnectionCompat

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 to NotificationCompat ( b/138601213 )

رفع اشکال

  • Fixed an issue with the handling of unicode digits in address detection. ( aosp/1129852 )

External Contribution

  • 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 in ShortcutInfo.Builder in Android framework.
  • Added ShortcutInfoCompat.Builder#setRank() and ShortcutInfoCompat#getRank() to match the ShortcutInfo in Android framework.

رفع اشکال

Version 1.2.0-alpha03

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 , and isEnabled to TraceCompat ( aosp/987332 )
  • Unhid APIs in WindowInsetsCompat and ViewDragHelper ( aosp/979408 )

رفع اشکال

  • Fixed bug with NestedScrollView scrolling in response to a11y scroll calls. ( aosp/971000 )
  • Switched to using SimpleArrayMap in ViewCompat 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 and InputConnectionCompat

نسخه 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 and NestedScrollingParent3 .
  • This library no longer exposes the androidx.collection dependency as part of its API. If you were depending on the androidx.collection types implicitly through a dependency on Core, you will need to add an explicit androidx.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

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 implement LifecycleOwner to maintain binary compatibility with androidx.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 check PackageManager ( 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 to NotificationCompat ( 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 only NotificationManagerCompat 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() , and setContextClickable() . Added AccessibilityAction s instead.
  • Added ViewCompat.setAccessibilityPaneTitle() , getAccessibilityPaneTitle() , setScreenReaderFocusable() , isScreenReaderFocusable() , setAccessibilityHeading() , and isAccessibilityHeading() , to backport this View accessibility functionality through API 19.
  • Added ViewCompat.enableAccessibleClickableSpanSupport() to allow developers to make non-URL ClickableSpan 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. See AnimatorTestRule 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

7 نوامبر 2018

Bugfix release of core-1.0.1 and appcompat-1.0.2 .

رفع اشکال

  • Fixed bug where PrecomputedTextCompat would crash when used with RTL AppCompatTextView . 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.
،

هسته

Target the latest platform features and APIs while also supporting older devices.

This table lists all the artifacts in the androidx.core group.

مصنوع انتشار پایدار کاندید را آزاد کنید Beta Release Alpha Release
هسته 1.16.0 - - -
core-animation 1.0.0 - - -
core-google-shortcuts 1.1.0 - - 1.2.0-alpha01
core-performance 1.0.0 - - -
core-remoteviews 1.1.0 - - -
core-role 1.1.0 - - -
core-splashscreen 1.0.1 1.1.0-rc01 1.2.0-beta02 -
This library was last updated on: May 7, 2025

Declaring dependencies

To add a dependency on Core, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.

Add the dependencies for the artifacts you need in the build.gradle file for your app or module:

شیار

dependencies {
    def core_version = "1.16.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-beta02"
}

کاتلین

dependencies {
    val core_version = "1.16.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-beta02")
}

For more information about dependencies, see Add Build Dependencies .

بازخورد

Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.

یک شماره جدید ایجاد کنید

See the Issue Tracker documentation for more information.

Core-Viewtree Version 1.0

نسخه 1.0.0

26 فوریه 2025

androidx.core:core-viewtree:1.0.0 has been promoted to its first stable release with no changes since its previous RC version.

This library introduces the concept of a View being able to have a disjoint parent. A disjoint parent of a view is a separate View object that acts as the view's parent, but is not set via the View.parent property. Examples of Views with disjoint parents are ViewOverlays , popups, and dialogs, which all appear outside of the main view hierarchy. A View can only have a disjoint parent if it does not have a direct parent via the platform's View.parent property. Currently, androidx only sets the disjoint parent for ViewOverlays created by Transition 1.6.0-alpha01 and higher. You can also specify your own disjoint parents for views. برای اطلاعات بیشتر به مستندات مراجعه کنید.

Version 1.0.0-rc01

12 فوریه 2025

androidx.core:core-viewtree:1.0.0-rc01 is released with no changes since the beta.

Version 1.0.0-beta01

29 ژانویه 2025

androidx.core:core-viewtree:1.0.0-beta01 is released with no changes since the alpha. Version 1.0.0-beta01 contains these commits .

Version 1.0.0-alpha01

11 دسامبر 2024

androidx.core:core-viewtree:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits .

ویژگی های جدید

  • Initial release of core-viewtree , transitively exposed by androidx core.

  • This initial release introduces the concept of a View being able to have a disjoint parent. A disjoint parent of a view is a separate View object that acts as the view's parent, but is not set via the View.parent property. Examples of Views with disjoint parents are ViewOverlays , popups, and dialogs, which all appear outside of the main view hierarchy. A View can only have a disjoint parent if it does not have a direct parent via the platform's View.parent property. Currently, androidx only sets the disjoint parent for ViewOverlays created by transition. You can also specify your own disjoint parents for views. برای اطلاعات بیشتر به مستندات مراجعه کنید.

تغییرات API

  • Adds ViewParent.getParentOrViewTreeDisjointParent() and ViewParent.setViewTreeDisjointParent(View, ViewParent?) methods ( Ib2950 )

Core-i18n Version 1.0

نسخه 1.0.0

9 آوریل 2025

androidx.core:core-i18n:1.0.0 is released.

The component makes it easier to create properly internationalized applications, focusing on two main areas:

  • Date and time formatting functionality following the best current practices, honoring user custom settings, and providing a unifying API that works properly on old and new Android versions.
  • A backport of android.icu.text.MessageFormat that works on older APIs. But still useful on new Android versions because it integrates the date / time formatting mentioned above. That honors the user settings, which android.icu.text.MessageFormat does not do.

The component will be the vehicle to backporting new i18n APIs, adding new i18n functionality or fixes, and in general making internationalization easier.

Version 1.0.0-rc01

26 مارس 2025

androidx.core:core-i18n:1.0.0-rc01 is released with no notable changes since the last beta. Version 1.0.0-rc01 contains these commits .

Version 1.0.0-beta01

12 مارس 2025

androidx.core:core-i18n:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits .

ویژگی های جدید

  • This is the first release of the core-i18n component. The component makes it easier to create properly internationalized applications, focusing on two main areas:
    • Date and time formatting functionality following the best current practices, honoring user custom settings, and providing a unifying API that works properly on old and new Android versions.
    • A backport of android.icu.text.MessageFormat that works on older APIs. But still useful on new Android versions because it integrates the date / time formatting mentioned above. That honors the user settings, which android.icu.text.MessageFormat does not do.
    • The component will be the vehicle to backporting new i18n APIs, adding new i18n functionality or fixes, and in general making internationalization easier.

Version 1.0.0-alpha01

26 جولای 2023

androidx.core:core-i18n:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.

Core-location-altitude Version 1.0.

Version 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 , and androidx.core:core-location-altitude-proto:1.0.0-alpha03 are released. Version 1.0.0-alpha03 contains these commits .

رفع امنیتی

  • As of this change , androidx compiles against protobuf 4.28.2 in order to address CVE-2024-7254 . Upgrade your dependency on androidx.core:core-location-altitude-proto and androidx.core:core-location-altitude-external-protobuf to 1.1.0-alpha03 to address the vulnerability risk.

رفع اشکال

  • 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. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae , b/345472586 )

Version 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 , and androidx.core:core-location-altitude-proto:1.0.0-alpha02 are released. Version 1.0.0-alpha02 contains these commits .

رفع اشکال

  • Fixes proguard failure caused by the repackaging of proto libraries.

External Contribution

  • Bug fix above provided by andrekir@pm.me

Version 1.0.0-alpha01

26 جولای 2023

androidx.core:core-i18n:1.0.0-alpha01 and androidx.core:core-location-altitude:1.0.0-alpha01 are released. Version 1.0.0-alpha01 contains these commits.

ویژگی های جدید

  • Added AltitudeConverterCompat class with a single static method addMslAltitudeToLocation(Context, Location) ( I11168 ).

Core-telecom Version 1.0.

نسخه 1.0.0

7 مه 2025

androidx.core:core-telecom:1.0.0 is released. Version 1.0.0 contains these commits .

Major features of 1.0.0

  • Initial stable release of core-telecom API, focusing on CallsManager API surface for integration of VoIP calls into the Android platform.

Version 1.0.0-rc01

9 آوریل 2025

androidx.core:core-telecom:1.0.0-rc01 is released. Version 1.0.0-rc01 contains these commits .

ویژگی های جدید

New experimental API call extensions. The new experimental extensions added in this release are:

  • Support for a Meeting Summary Remote Extension, allowing a remote surface to receive meeting summary information (current speaker and participant count) from the connected VoIP application. ( 7cf095f )
  • Support for a Call Icon Extension that allows a VoIP app to send an Icon Uri to a remote InCallService (auto, watch face, etc.). The Icon can be updated throughout the call and can have the same URI value. ( 8e1813e )

Version 1.0.0-beta01

11 دسامبر 2024

androidx.core:core-telecom:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits .

ویژگی های جدید

Beta release for the following new features:

  • Fetching available audio endpoints before a call is added. App developers can now display all the available endpoints before initiating a call which allows users to seamlessly select their preferred audio endpoint and optimize their setup. This eliminates the need for in-call adjustments at the start of the call, providing a smoother experience.
  • Experimental API support for VOIP application call extensions. Call extensions allow an application to provide more details about an ongoing call, such as the list of participants in a group call or meeting. Supported remote surfaces such as Android Auto can then show this information to the user and allow them to interact with the supported extensions. The new experimental extensions added in this release are:
    • Support for showing the participants in a group call or meeting and describing which participant is active. Support for the following optional actions on participants:
      • Raising and lowering the hands of participants.
      • Kicking participants.
    • Support for call silence, which allows remote surfaces to silence a VOIP call without also globally muting the mic.

تغییرات API

  • Rename addLocalSilenceExtension to addLocalCallsilenceExtension ( If4a9c )
  • Change preferredStartingCallEndpoint from var to val . ( Iab6b7 )
  • Add local call silence APIs ( I29dd0 )
  • Implement the compareTo function for the CallEndpointCompat class ( Ia06b7 )
  • Adds experimental app actions API. ( Ifb796 )
  • Add new CallsManager API getAvailableStartingCallEndpoints ( Ia8bcf )
  • Update ExperimentalAppActions annotation to ensure that it is accurately tracking all usages of the experimental feature. ( Id5ea5 )

رفع اشکال

  • Add global mute state receiver for Android API level 28 through 33. ( I75e66 )
  • Fixes an issue where only the latest connected InCallService would be able to send action events ( I39599 )
  • Implements ICS Extensions API for voip app actions. ( I1274c )
  • Rejecting a call before API level 34 will now correctly destroy the call in Telecom. ( I635b7 )
  • addCall now properly throws Exceptions through the API instead of the parent coroutine ( I83334 )
  • Add a placeholder value to extras bundle ( Iebf7f )
  • 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. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae , b/345472586 )
  • Adds experimental support for extensions to CallsManager#addCall . ( I24d92 )
  • Core-Telecom will now throw a CallException if the platform failed to add the call due to an exception, reaching max call count, etc. ( I41f27 )

Version 1.0.0-alpha03

17 آوریل 2024

androidx.core:core-telecom:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits .

رفع اشکال

  • Refactor of JetpackConnectionService to correct an issue which occurs on SDK 33 and below when the address passed in is empty. The refactored JetpackConnectionService is also resilient to unexpected NULL values from Telecom platform APIs.
  • Improvements to addCall/CallControlScope API documentation.
  • Test reliability improvements.

Version 1.0.0-alpha02

4 اکتبر 2023

androidx.core:core-telecom:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.

تغییرات API

  • Revamped the API signatures for methods that returned boolean to indicate success/failure to instead return a result class that clearly indicates why an operation succeeded or failed.
  • Moved the CallControlCallback methods as lambda args to addCall to remove the need to explicitly provide a callback in the call scope.

رفع اشکال

  • Fixed a bug in the ConnectionService compatibility layer which would have resulted in no call audio when running against pre-U SDKs.
  • Improve API documentation.

Version 1.0.0-alpha01

10 مه 2023

androidx.core:core-telecom:1.0.0-alpha01 is released. This version is developed in an internal branch and should be used with Android 14 Beta 2.

ویژگی های جدید

  • Introduces the CallsManager API which VoIP apps can use for integrating with the Telecom framework on a device. Calls notified to the platform benefit from foreground execution priority, visibility on Bluetooth, wearable and automotive devices, and simplified audio routing.

    The CallsManager API wraps the legacy ConnectionService API for devices running older versions of Android.

Core and Core-ktx Version 1.16

نسخه 1.16.0

9 آوریل 2025

androidx.core:core:1.16.0 , androidx.core:core-ktx:1.16.0 , and androidx.core:core-testing:1.16.0 are released. Version 1.16.0 contains these commits .

Important changes since 1.15.0 - This library now uses JSpecify nullness annotations , which are type-use. Kotlin developers should use the following compiler argument to enforce correct usage: -Xjspecify-annotations=strict (this is the default starting with version 2.1.0 of the Kotlin compiler). ( Iaf3e1 , b/326456246 )

Version 1.16.0-rc01

26 مارس 2025

androidx.core:core:1.16.0-rc01 , androidx.core:core-ktx:1.16.0-rc01 , and androidx.core:core-testing:1.16.0-rc01 are released. Version 1.16.0-rc01 contains no changes from the previous beta release.

Version 1.16.0-beta01

12 مارس 2025

androidx.core:core:1.16.0-beta01 , androidx.core:core-ktx:1.16.0-beta01 , and androidx.core:core-testing:1.16.0-beta01 are released. Version 1.16.0-beta01 contains these commits .

تغییرات API

  • Refine insets protection APIs ( I7050d )
  • Adds new key to get character bounds in unmagnified window coordinates. ( If7a06 )
  • Add new boolean property to represent if an AccesibilityNodeInfo represents a required field. ( I4fd2d )
  • Backport View.transformMatrixToGlobal to ViewCompat ( If17e2 )

Version 1.16.0-alpha02

29 ژانویه 2025

androidx.core:core:1.16.0-alpha02 , androidx.core:core-ktx:1.16.0-alpha02 , and androidx.core:core-testing:1.16.0-alpha02 are released. Version 1.16.0-alpha02 contains these commits .

تغییرات API

  • Add BuildCompat.isAtLeastB for checking if an API added in Baklava is available ( I0f89c )
  • Add an experimental API to get a list of built-in displays. ( Idda4d )
  • Add a set of APIs related to ensuring system bar contrast ( I9849c )

رفع اشکال

  • Fix issue where getLaunchDisplayId() returned an incorrect default value of 0 on SDK < 26. ( Icd679 )
  • This library now uses JSpecify nullness annotations , which are type-use. Kotlin developers should use the following compiler argument to enforce correct usage: -Xjspecify-annotations=strict (this is the default starting with version 2.1.0 of the Kotlin compiler). ( Iaf3e1 , b/326456246 )

Version 1.16.0-alpha01

11 دسامبر 2024

androidx.core:core:1.16.0-alpha01 , androidx.core:core-ktx:1.16.0-alpha01 , and androidx.core:core-testing:1.16.0-alpha01 are released. Version 1.16.0-alpha01 contains these commits .

تغییرات API

  • Added setLaunchDisplayId to ActivityOptionsCompat . ( I39e77 , b/379669743 )
  • Added compat API for SYSTEM_OVERLAYS . ( Ibd1fd , b/287470173 )
  • Added OutcomeReceiverCompat , a version of Android's OutcomeReceiver available on all API levels. ( Ib8265 , b/380060342 )
  • Added compat class for android.view.ScrollFeedbackProvider . ( Icaa92 )
  • Added ViewCompat.addViewOverlay(View) as an alternative to View.getOverlay().add(View) . The ViewCompat variant fixes an issue where owners like the LifecycleOwner and ViewModelStoreOwner could not be resolved between the view being overlaid and the overlay owner. ( I81413 )
  • Introduces the concept of a View being able to have a disjoint parent. A disjoint parent of a view is a different view that effectively parents the other view, but is not set via the View.parent property. برای اطلاعات بیشتر به مستندات مراجعه کنید. ( Ib2950 )
  • Added a new API ViewGroupCompat#installCompatInsetsDispatch for developers to fix an insets dispatching issue present prior to API 30. ( I11159 )
  • Added FontsContractCompat.TypefaceStyle IntDef for annotating Typeface styles in FontsContractCompat . ( Ib3e5b )

External Contribution

  • Deprecated BuildCompat.isAtLeastV . Callers should check SDK_INT against 35 directly instead. Thanks to Jake Wharton! ( I294d1 )
  • Added a mutability flag to TaskStackBuilder . Thanks to Kamal Faraj! ( Ife0ec , b/371534781 )

Core and Core-ktx Version 1.15

نسخه 1.15.0

30 اکتبر 2024

androidx.core:core:1.15.0 , androidx.core:core-ktx:1.15.0 , and androidx.core:core-testing:1.15.0 are released. Version 1.15.0 contains these commits .

Important changes since 1.14.0

  • 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. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae , b/345472586 )
  • Various updates to compatibility classes for parity with Android 15 SDK.

Version 1.15.0-rc01

16 اکتبر 2024

androidx.core:core:1.15.0-rc01 , androidx.core:core-ktx:1.15.0-rc01 , and androidx.core:core-testing:1.15.0-rc01 are released. Version 1.15.0-rc01 contains no changes since the previous release.

Version 1.15.0-beta01

2 اکتبر 2024

androidx.core:core:1.15.0-beta01 , androidx.core:core-ktx:1.15.0-beta01 , and androidx.core:core-testing:1.15.0-beta01 are released. Version 1.15.0-beta01 contains these commits .

تغییرات API

  • Added itemCount and importantForAccessibilityItemCount fields to CollectionInfoCompat . ( Ibaf34 )

رفع اشکال

  • Fix documentation issues in androidx.core.os.Profiling ( I2542f )

Version 1.15.0-alpha02

21 آگوست 2024

androidx.core:core:1.15.0-alpha02 , androidx.core:core-ktx:1.15.0-alpha02 , and androidx.core:core-testing:1.15.0-alpha02 are released. Version 1.15.0-alpha02 contains these commits .

تغییرات مهم

  • 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. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae , b/345472586 )

تغییرات API

  • Added fallbackQuery XML attribute to downloadable font definitions, allowing character-level fallback with downloadable fonts. ( Idd544 )
  • Adds helper APIs for using ProfilingManager ( If2292 )
  • Add compat method for ActivityOptions.setPendingIntentBackgroundActivityStartMode ( I3ba1f , b/349617674 )
  • Added DisplayCutoutCompat.getCutoutPath ( I58778 , b/279635904 )
  • Reverts deprecation of ParcelCompat.writeBoolean and delegates to the platform API on API level 29 and above. ( I9d243 , b/313834577 )
  • Create FontsContractCompat.requestFonts that takes executors ( I03016 , b/302377512 )
  • Reverts deprecation of LocationCompat.isMock and delegates to the platform API on API level 31 and above. ( I55940 , b/313834577 )
  • Notifications can now be tagged as voicemail. ( I068ab )

Version 1.15.0-alpha01

12 ژوئن 2024

androidx.core:core:1.15.0-alpha01 , androidx.core:core-ktx:1.15.0-alpha01 , and androidx.core:core-testing:1.15.0-alpha01 are released. This version is developed in an internal branch and is compatible with Android 15 Beta 3 ( android-35 ).

تغییرات API

  • Various updates to compatibility classes for parity with Android 15 SDK.

Core and Core-ktx Version 1.14

Version 1.14.0-alpha01

1 مه 2024

androidx.core:core:1.14.0-alpha01 , androidx.core:core-ktx:1.14.0-alpha01 , and androidx.core:core-testing:1.14.0-alpha01 are released. Version 1.14.0-alpha01 contains these commits .

ویژگی های جدید

  • Move to 21 as the default minSdkVersion of androidx libraries ( I6ec7f )

تغییرات API

  • Deprecate additional obsolete compat methods. ( Ie4470 , b/313834577 )
  • Deprecated obsolete compat methods. ( I01d90 , b/313834577 )
  • Updated isAtLeastV() to return true for finalized V SDK. ( I6339a )

Core and Core-ktx Version 1.13

Version 1.13.1

1 مه 2024

androidx.core:core:1.13.1 , androidx.core:core-ktx:1.13.1 , and androidx.core:core-testing:1.13.1 are released. Version 1.13.1 contains these commits .

رفع اشکال

  • Fix issue where when handwriting toolbar is shown, a finger tap can't switch to the regular keyboard ( I7f843 , b/332769437 )

نسخه 1.13.0

17 آوریل 2024

androidx.core:core:1.13.0 , androidx.core:core-ktx:1.13.0 , and androidx.core:core-testing:1.13.0 are released. Version 1.13.0 contains these commits .

Important changes since 1.12.0

  • The library's minSdkVersion has been raised to 19 . Many compatibility APIs have been marked deprecated since they were only needed prior to API level 19.
  • Several classes have been rewritten in Kotlin to provide better interoperability with Kotlin consumers while preserving Java compatibility.
  • Removed FingerprintManagerCompat , which is a no-op starting in Android V and should not be used on earlier platforms. Clients should migrate to BiometricPrompt immediately.
  • Added PathParser , which can create a Path instance from SVG path strings.

Version 1.13.0-rc01

3 آوریل 2024

androidx.core:core:1.13.0-rc01 , androidx.core:core-ktx:1.13.0-rc01 , and androidx.core:core-testing:1.13.0-rc01 are released. Version 1.13.0-rc01 contains these commits .

رفع اشکال

Version 1.13.0-beta01

20 مارس 2024

androidx.core:core:1.13.0-beta01 , androidx.core:core-ktx:1.13.0-beta01 , and androidx.core:core-testing:1.13.0-beta01 are released. Version 1.13.0-beta01 contains these commits .

تغییرات API

  • PathParser is now final , interpolatePathDataNodes now throws an exception for incompatible arguments instead of returning a boolean , and nodesToPath now belongs to PathParser rather than PathParser.PathDataNode . ( I20d62 )
  • FingerprintManagerCompat has been soft-removed prior to its removal from the Android V platform SDK. The implementation will be replaced with a no-op in the near future, and developers should migrate away from this class immediately. ( I7ca1b )
  • The Pool interface and its subclasses, SimplePool and SynchronizedPool are now written in Kotlin. The generic type of objects being stored in the Pool must now be non-null. ( I08afe )

External Contribution

  • GestureDetectorCompat is now deprecated as GestureDetector is guaranteed to be available in the platform at the library's minimum SDK version. Thanks to Jake Wharton for the contribution. ( Icc4cd )
  • MarginLayoutParamsCompat is now deprecated as MarginLayoutParams is guaranteed to be available in the platform as the library's minimum SDK version. Thanks to Jake Wharton for the contribution. ( I4e0c3 )

Version 1.13.0-alpha05

7 فوریه 2024

androidx.core:core:1.13.0-alpha05 , androidx.core:core-ktx:1.13.0-alpha05 , and androidx.core:core-testing:1.13.0-alpha05 are released. Version 1.13.0-alpha05 contains these commits.

External Contribution

  • Thanks to Matthew Zavislak for updating the ContextCompat.registerReceiver documentation for correctness. ( 8fd733 )

Version 1.13.0-alpha04

24 ژانویه 2024

androidx.core:core:1.13.0-alpha04 , androidx.core:core-ktx:1.13.0-alpha04 , and androidx.core:core-testing:1.13.0-alpha04 are released. Version 1.13.0-alpha04 contains these commits.

ویژگی های جدید

Kotlin Conversions

  • The androidx.core.util.Consumer class has been rewritten in Kotlin and now enforce that the generic type T now matches the nullability of what the accept() method receives. ( Ie21e0 )
  • androidx.core.util.Supplier has been converted to Kotlin, ensuring that the nullability of the type returned by get() matches the nullability of the generic type. ( I21e9c )
  • androidx.core.util.Function has been rewritten in Kotlin, ensuring that the nullability of the input and outputs of the function match the generic types used. ( I09dd7 )

External Contribution

  • Thanks to Kamal Faraj for adding the AlarmManagerCompat.canScheduleExactAlarms API ( I62e95 , b/315440583 )

Version 1.13.0-alpha03

10 ژانویه 2024

androidx.core:core:1.13.0-alpha03 , androidx.core:core-ktx:1.13.0-alpha03 , and androidx.core:core-testing:1.13.0-alpha03 are released. Version 1.13.0-alpha03 contains these commits.

تغییرات API

Version 1.13.0-alpha02

29 نوامبر 2023

androidx.core:core:1.13.0-alpha02 , androidx.core:core-ktx:1.13.0-alpha02 , and androidx.core:core-testing:1.13.0-alpha02 are released. Version 1.13.0-alpha02 contains these commits.

ویژگی های جدید

  • Adds the OnUserLeaveHintProvider interface to allow any component to receive onUserLeaveHint events necessary for implementing picture-in-picture. This is implemented by ComponentActivity in Activity 1.9.0-alpha01 . ( I54892 )

تغییرات API

  • Deprecated androidx.core.os.CancellationSignal . Usages should be replaced with the platform-provided android.os.CancellationSignal . ( Id45f6 , b/309499026 , b/309054079 )
  • The OnMultiWindowModeChangedProvider , OnNewIntentProvider , OnPictureInPictureModeChangedProvider , OnConfigurationChangedProvider , and OnTrimMemoryProvider interfaces have been converted to Kotlin to ensure that the generic parameters on the Consumer that their listener methods take have the correct nullability (they are all non-null). ( Ib6237 )
  • The MultiWindowModeChangedInfo and PictureInPictureModeChangedInfo classes that are sent to the Consumer added to their respective Provider interfaces are now written in Kotlin. ( Ie08e2 )

Dependency Update

Version 1.13.0-alpha01

18 اکتبر 2023

androidx.core:core:1.13.0-alpha01 , androidx.core:core-ktx:1.13.0-alpha01 , and androidx.core:core-testing:1.13.0-alpha01 are released. Version 1.13.0-alpha01 contains these commits.

تغییرات API

  • Make PathParser public. The class can create a Path instance from SVG path strings. ( Ic7af2 , b/302376846 )
  • Added compat method for Context.createAttributionContext . ( I61dcf , Ibe187 )
  • Marks NotificationCompatSideChannelService as deprecated. ( I18fd9 )
  • New API for differential motion fling. ( I46b0d , Ia9f68 )
  • Additional compat APIs for VelocityTracker to track platform SDK. ( I32753 )

رفع اشکال

  • Override equals and hashCode methods in Person . ( I610a5 )

Core and Core-ktx Version 1.12

نسخه 1.12.0

6 سپتامبر 2023

androidx.core:core:1.12.0 , androidx.core:core-ktx:1.12.0 , and androidx.core:core-testing:1.12.0 are released. Version 1.12.0 contains these commits.

Important changes since 1.11.0

  • Many compat methods added for SDK 34 parity with TextView, AccessibilityNodeInfo, etc.
  • New LocalePreferences APIs to help developers to easily access locale data or user's locale preferences.
  • Deprecated app.BundleCompat in favor of os.BundleCompat .
  • Deprecated BuildCompat.isAtLeastU() . Use SDK_INT >= 34 instead.

Version 1.12.0-rc01

9 آگوست 2023

androidx.core:core:1.12.0-rc01 , androidx.core:core-ktx:1.12.0-rc01 , and androidx.core:core-testing:1.12.0-rc01 are released with no major changes. Version 1.12.0-rc01 contains these commits.

Version 1.12.0-beta01

26 جولای 2023

androidx.core:core:1.12.0-beta01 , androidx.core:core-ktx:1.12.0-beta01 , and androidx.core:core-testing:1.12.0-beta01 are released. Version 1.12.0-beta01 contains these commits.

تغییرات API

  • Added setLineHeight(unit, lineHeight) to TextView compat classes ( Ia9fa9 )
  • Added TypedValueCompat.getUnitFromComplexDimension() from Android 14 ( I958e8 )
  • Added setLineHeight(unit, lineHeight) to TextView compat classes ( Ib2ee1 )
  • Backport miscellaneous Accessibility APIs ( Ic65ba )
  • Backport API 34 AccessibilityNodeInfo methods ( I44182 )
  • Graduate stable SDK checks out of experimental ( Ia9b35 )
  • Backport AccessiiblityWindowInfo 34 APIs ( I96a5d )
  • Deprecated BuildCompat.isAtLeastU() . Use SDK_INT >= 34 instead. ( I4f8e7 , b/289269026 )
  • Removed usages of experimental isAtLeastU() API ( Ie9117 , b/289269026 )
  • Migrated BuildCompat to Kotlin for enhanced Deprecated tag ( I56775 , b/289269026 )
  • Added setLineHeight(unit, lineHeight) to TextView compat classes ( I15716 )
  • New accessibilityDataSensitive compat property. ( I0c6e0 )
  • PendingIntentCompat.getActivity and getService may return null when FLAG_NO_CREATE is specified. ( Iffdf0 , b/289696515 )
  • Updated API files to annotate compatibility suppression ( I8e87a , b/287516207 )
  • Added PendingIntentCompat.send() ( Iaf707 )
  • Adds compat versions of Location.removeVerticalAccuracy() , Location.removeSpeedAccuracy() , and 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 to NotifManagerCompat (aosp/516143e05f824ff49bde3c0c97344a2924867d30)
  • Deprecated app.BundleCompat in favor of os.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 method performHapticFeedback ( 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, especially isHierarchical ( 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 the WindowInsetsController APIs on some API levels, and is the extraction of the backing implementation for WindowInsetsControllerCompat.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 to NotifManagerCompat ( I8ec95 , b/243183646 )
  • Deprecate app.BundleCompat in favor of os.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 of getType requires that the caller hold the correct read permission. FileProvider now provides a default getTypeAnonymous 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

نسخه 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.

External Contribution

  • Fix BadParcelableException being thrown for result being null b/277434277 , b/278118318 contributed by Mygod Studio

نسخه 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 of set/getMinMillisBetweteenContentChanges have been renamed to set/getMinDurationBetweenContentChanges and now take a long 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 and CoordinatorLayout ( 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 for AD_SERVICES extension version ( I51d98 )
  • Add BEHAVIOR_DEFAULT to WindowInsetsControllerCompat . BEHAVIOR_SHOW_BARS_BY_SWIPE and BEHAVIOR_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 to NotificationCompat ( 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 using Icon ( Ice26d )
  • Added @RequiresPermission to APIs that require granting the POST_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 @RequiresPermission to APIs that require granting the POST_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 platform Typeface.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 )

External Contribution

  • 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 accompanying SDK_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

نسخه 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, including onPrepareMenu and onMenuClosed
  • Fixed issue where FileProvider would fail with IllegalArgumentException 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 prevent ClassCastException ( 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 not FontWeight.Normal or FontWeight.Bold , as the actual loaded weight and style will be used. ( #212 , b/194553426 )

External Contribution

  • Thanks RikkaW for ensuring we correctly apply Typeface weight in TypefaceCompat on API 29+. #212

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 the onPrepareMenu() callback, which is called when a menu is dynamically modified and should be shown. ( Ie85f9 )
  • The MenuProvider interface now includes the onMenuClosed() 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 in Icon#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. Deprecated ViewCompat.getWindowInsetsController in favor of WindowCompat.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 to AccessibilityNodeInfoCompat ( 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 by ComponentActivity in Activity 1.5.0-alpha02 . ( I9f567 )
  • Adds the OnMultiWindowModeChangedProvider interface to allow any component to receive multi-window mode change events. This is implemented by ComponentActivity in Activity 1.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 platform WindowInsetsController . 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 , and onTrimMemoryProvider 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

Version 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 a MenuProvider is removed prior to the Lifecycle being DESTROYED . ( 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 manage MenuProvider s. ( I83f23 )
  • Added MenuProvider interface that can be used to indicate that a component is supplying menu items. ( If8a40 )
  • Added MenuHostHelper to simplify implementing MenuHost 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 from PermissionChecker 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 and LocationManager.hasProvider() for platform parity. ( I4f3e4 )

رفع اشکال

  • Removed the use of lambdas in PackageManagerCompat to avoid LambdaDesugaring 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 to InputConnection.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.

Version 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.

Version 1.0.0-alpha02

26 ژانویه 2022

androidx.core:core-remoteviews:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.

Version 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 version 1.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.

Version 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.

Version 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

Version 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-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 of SplashScreen ( 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. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( 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 as PhoneWindow , so it's unnecessary to inherit the value from API 29. Also remove the override action from applyAppSystemUiTheme , since enforceNavigationBarContrast 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 .

رفع اشکال

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 when SplashScreenView#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 )

External Contribution

  • 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 the OnExitAnimationListener ( #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

Version 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 call activity.setTheme() before onCreate() to set your app theme after the splash screen is shown.
  • Backward support of the windowSplashScreenIconBackgroundColor attribute: using Theme.SplashScreen.IconBackground and windowSplashScreenIconBackgroundColor , 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

رفع اشکال

  • Make postSplashScreenTheme optional ( I8c4bf )

Version 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

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 new com.google.android.gms:play-services-appindex library. This version of the library is not compatible with com.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 new com.google.android.gms:play-services-appindex library. Note that this version of the library is not compatible with com.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. هیچ ویژگی جدیدی وجود ندارد.

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. هیچ ویژگی جدیدی وجود ندارد.

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 to com.google.android.gms:play-services-appindex . Developers who use this new version should not externally depend on com.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

نسخه 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 from ContextCompat , 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

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 and SubscriptionManagerCompat ( I5568d )
  • Remove deprecated addCapabilityBinding method from ShortcutInfoCompat ( Ie8f70 )
  • Add addCapabilityBinding with parameters and addCapabilityBinding without parameters setters to ShortcutInfoCompat.Builder , deprecated old addCapabilityBinding ( I90686 )
  • Add LocationCompat class and LocationManagerCompat.getCurrentLocation() ( I78d9a )
  • Deprecated ModeCompat.isNative which is replaced by DisplayCompat.getMode . ( I9a6a2 )
  • Added ContextCompat.getAttributionTag() and UserHandleCompat.getUserHandleForUid() ( Iea486 )

External Contribution

  • Backport tintable background and check mark for CheckedTextView ( I8575c )

Version 1.6.0-alpha01

March 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.

Version 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 .

Version 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 with androidx.core ; you can start using ShortcutManagerCompat 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 by ShortcutManagerCompat to donate shortcuts to Firebase App Index.

Core and Core-ktx Version 1.5.0

نسخه 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 and WindowInsetsCompat 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.

رفع اشکال

Version 1.5.0-rc01

March 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 by DisplayCompat.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() from OnReceiveContentListener ; now MIME types are passed as an additional arg on the ViewCompat 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 to view.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 the BigPictureStyle for that notification on newer OS versions. ( Ic623d )

External Contribution

  • 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 to getCachedFont ( 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 )

External Contribution

  • 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 new ime() 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 the adjustResize window soft input mode . If you're instead using the adjustPan mode, it should work reliably back to API 14.

تغییرات API

  • Added ObjectsCompat#toString(Object, String) . This offers the behavior of Objects#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 and NotificationCompat.MessagingStyle.addHistoricMessage ( I62bb6 )
  • Update Notification documentation ( I1293f )
  • Fix nullability of NotificationCompat.Builder ( I932e3 )
  • Added NotificationChannelCompat and NotificationChannelGroupCompat ( Icc3b6 )
  • Add addExtraDataToAccessibilityNodeInfo to AccessibilityNodeProviderCompat ( I26575 )
  • Update WindowInsetsCompat to Android 11 APIs ( I3df9e )

External Contribution

  • Add Uri overloads for MailTo 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 , and Notification 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 for View#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.

Bug Fixes

  • 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

نسخه 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.

Bug Fixes

  • WindowInsetsCompat now properly implements hashCode() and equals() 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 in NotificationCompat
  • 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 and InputConnectionCompat

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 to NotificationCompat ( b/138601213 )

Bug Fixes

  • Fixed an issue with the handling of unicode digits in address detection. ( aosp/1129852 )

External Contribution

  • 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 in ShortcutInfo.Builder in Android framework.
  • Added ShortcutInfoCompat.Builder#setRank() and ShortcutInfoCompat#getRank() to match the ShortcutInfo in Android framework.

رفع اشکال

Version 1.2.0-alpha03

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 , and isEnabled to TraceCompat ( aosp/987332 )
  • Unhid APIs in WindowInsetsCompat and ViewDragHelper ( aosp/979408 )

رفع اشکال

  • Fixed bug with NestedScrollView scrolling in response to a11y scroll calls. ( aosp/971000 )
  • Switched to using SimpleArrayMap in ViewCompat 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 and InputConnectionCompat

نسخه 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 and NestedScrollingParent3 .
  • This library no longer exposes the androidx.collection dependency as part of its API. If you were depending on the androidx.collection types implicitly through a dependency on Core, you will need to add an explicit androidx.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

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 implement LifecycleOwner to maintain binary compatibility with androidx.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 check PackageManager ( 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 to NotificationCompat ( 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 only NotificationManagerCompat 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() , and setContextClickable() . Added AccessibilityAction s instead.
  • Added ViewCompat.setAccessibilityPaneTitle() , getAccessibilityPaneTitle() , setScreenReaderFocusable() , isScreenReaderFocusable() , setAccessibilityHeading() , and isAccessibilityHeading() , to backport this View accessibility functionality through API 19.
  • Added ViewCompat.enableAccessibleClickableSpanSupport() to allow developers to make non-URL ClickableSpan 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. See AnimatorTestRule 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.

Bug Fixes

  • 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

7 نوامبر 2018

Bugfix release of core-1.0.1 and appcompat-1.0.2 .

رفع اشکال

  • Fixed bug where PrecomputedTextCompat would crash when used with RTL AppCompatTextView . 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.
،

هسته

Target the latest platform features and APIs while also supporting older devices.

This table lists all the artifacts in the androidx.core group.

مصنوع انتشار پایدار کاندید را آزاد کنید Beta Release Alpha Release
هسته 1.16.0 - - -
core-animation 1.0.0 - - -
core-google-shortcuts 1.1.0 - - 1.2.0-alpha01
core-performance 1.0.0 - - -
core-remoteviews 1.1.0 - - -
core-role 1.1.0 - - -
core-splashscreen 1.0.1 1.1.0-rc01 1.2.0-beta02 -
This library was last updated on: May 7, 2025

Declaring dependencies

To add a dependency on Core, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.

Add the dependencies for the artifacts you need in the build.gradle file for your app or module:

شیار

dependencies {
    def core_version = "1.16.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-beta02"
}

کاتلین

dependencies {
    val core_version = "1.16.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-beta02")
}

For more information about dependencies, see Add Build Dependencies .

بازخورد

Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.

یک شماره جدید ایجاد کنید

See the Issue Tracker documentation for more information.

Core-Viewtree Version 1.0

نسخه 1.0.0

26 فوریه 2025

androidx.core:core-viewtree:1.0.0 has been promoted to its first stable release with no changes since its previous RC version.

This library introduces the concept of a View being able to have a disjoint parent. A disjoint parent of a view is a separate View object that acts as the view's parent, but is not set via the View.parent property. Examples of Views with disjoint parents are ViewOverlays , popups, and dialogs, which all appear outside of the main view hierarchy. A View can only have a disjoint parent if it does not have a direct parent via the platform's View.parent property. Currently, androidx only sets the disjoint parent for ViewOverlays created by Transition 1.6.0-alpha01 and higher. You can also specify your own disjoint parents for views. برای اطلاعات بیشتر به مستندات مراجعه کنید.

Version 1.0.0-rc01

12 فوریه 2025

androidx.core:core-viewtree:1.0.0-rc01 is released with no changes since the beta.

Version 1.0.0-beta01

29 ژانویه 2025

androidx.core:core-viewtree:1.0.0-beta01 is released with no changes since the alpha. Version 1.0.0-beta01 contains these commits .

Version 1.0.0-alpha01

11 دسامبر 2024

androidx.core:core-viewtree:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits .

ویژگی های جدید

  • Initial release of core-viewtree , transitively exposed by androidx core.

  • This initial release introduces the concept of a View being able to have a disjoint parent. A disjoint parent of a view is a separate View object that acts as the view's parent, but is not set via the View.parent property. Examples of Views with disjoint parents are ViewOverlays , popups, and dialogs, which all appear outside of the main view hierarchy. A View can only have a disjoint parent if it does not have a direct parent via the platform's View.parent property. Currently, androidx only sets the disjoint parent for ViewOverlays created by transition. You can also specify your own disjoint parents for views. برای اطلاعات بیشتر به مستندات مراجعه کنید.

تغییرات API

  • Adds ViewParent.getParentOrViewTreeDisjointParent() and ViewParent.setViewTreeDisjointParent(View, ViewParent?) methods ( Ib2950 )

Core-i18n Version 1.0

نسخه 1.0.0

9 آوریل 2025

androidx.core:core-i18n:1.0.0 is released.

The component makes it easier to create properly internationalized applications, focusing on two main areas:

  • Date and time formatting functionality following the best current practices, honoring user custom settings, and providing a unifying API that works properly on old and new Android versions.
  • A backport of android.icu.text.MessageFormat that works on older APIs. But still useful on new Android versions because it integrates the date / time formatting mentioned above. That honors the user settings, which android.icu.text.MessageFormat does not do.

The component will be the vehicle to backporting new i18n APIs, adding new i18n functionality or fixes, and in general making internationalization easier.

Version 1.0.0-rc01

26 مارس 2025

androidx.core:core-i18n:1.0.0-rc01 is released with no notable changes since the last beta. Version 1.0.0-rc01 contains these commits .

Version 1.0.0-beta01

12 مارس 2025

androidx.core:core-i18n:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits .

ویژگی های جدید

  • This is the first release of the core-i18n component. The component makes it easier to create properly internationalized applications, focusing on two main areas:
    • Date and time formatting functionality following the best current practices, honoring user custom settings, and providing a unifying API that works properly on old and new Android versions.
    • A backport of android.icu.text.MessageFormat that works on older APIs. But still useful on new Android versions because it integrates the date / time formatting mentioned above. That honors the user settings, which android.icu.text.MessageFormat does not do.
    • The component will be the vehicle to backporting new i18n APIs, adding new i18n functionality or fixes, and in general making internationalization easier.

Version 1.0.0-alpha01

26 جولای 2023

androidx.core:core-i18n:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.

Core-location-altitude Version 1.0.

Version 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 , and androidx.core:core-location-altitude-proto:1.0.0-alpha03 are released. Version 1.0.0-alpha03 contains these commits .

رفع امنیتی

  • As of this change , androidx compiles against protobuf 4.28.2 in order to address CVE-2024-7254 . Upgrade your dependency on androidx.core:core-location-altitude-proto and androidx.core:core-location-altitude-external-protobuf to 1.1.0-alpha03 to address the vulnerability risk.

Bug Fixes

  • 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. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae , b/345472586 )

Version 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 , and androidx.core:core-location-altitude-proto:1.0.0-alpha02 are released. Version 1.0.0-alpha02 contains these commits .

Bug Fixes

  • Fixes proguard failure caused by the repackaging of proto libraries.

External Contribution

  • Bug fix above provided by andrekir@pm.me

Version 1.0.0-alpha01

26 جولای 2023

androidx.core:core-i18n:1.0.0-alpha01 and androidx.core:core-location-altitude:1.0.0-alpha01 are released. Version 1.0.0-alpha01 contains these commits.

ویژگی های جدید

  • Added AltitudeConverterCompat class with a single static method addMslAltitudeToLocation(Context, Location) ( I11168 ).

Core-telecom Version 1.0.

نسخه 1.0.0

7 مه 2025

androidx.core:core-telecom:1.0.0 is released. Version 1.0.0 contains these commits .

Major features of 1.0.0

  • Initial stable release of core-telecom API, focusing on CallsManager API surface for integration of VoIP calls into the Android platform.

Version 1.0.0-rc01

9 آوریل 2025

androidx.core:core-telecom:1.0.0-rc01 is released. Version 1.0.0-rc01 contains these commits .

ویژگی های جدید

New experimental API call extensions. The new experimental extensions added in this release are:

  • Support for a Meeting Summary Remote Extension, allowing a remote surface to receive meeting summary information (current speaker and participant count) from the connected VoIP application. ( 7cf095f )
  • Support for a Call Icon Extension that allows a VoIP app to send an Icon Uri to a remote InCallService (auto, watch face, etc.). The Icon can be updated throughout the call and can have the same URI value. ( 8e1813e )

Version 1.0.0-beta01

11 دسامبر 2024

androidx.core:core-telecom:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits .

ویژگی های جدید

Beta release for the following new features:

  • Fetching available audio endpoints before a call is added. App developers can now display all the available endpoints before initiating a call which allows users to seamlessly select their preferred audio endpoint and optimize their setup. This eliminates the need for in-call adjustments at the start of the call, providing a smoother experience.
  • Experimental API support for VOIP application call extensions. Call extensions allow an application to provide more details about an ongoing call, such as the list of participants in a group call or meeting. Supported remote surfaces such as Android Auto can then show this information to the user and allow them to interact with the supported extensions. The new experimental extensions added in this release are:
    • Support for showing the participants in a group call or meeting and describing which participant is active. Support for the following optional actions on participants:
      • Raising and lowering the hands of participants.
      • Kicking participants.
    • Support for call silence, which allows remote surfaces to silence a VOIP call without also globally muting the mic.

تغییرات API

  • Rename addLocalSilenceExtension to addLocalCallsilenceExtension ( If4a9c )
  • Change preferredStartingCallEndpoint from var to val . ( Iab6b7 )
  • Add local call silence APIs ( I29dd0 )
  • Implement the compareTo function for the CallEndpointCompat class ( Ia06b7 )
  • Adds experimental app actions API. ( Ifb796 )
  • Add new CallsManager API getAvailableStartingCallEndpoints ( Ia8bcf )
  • Update ExperimentalAppActions annotation to ensure that it is accurately tracking all usages of the experimental feature. ( Id5ea5 )

Bug Fixes

  • Add global mute state receiver for Android API level 28 through 33. ( I75e66 )
  • Fixes an issue where only the latest connected InCallService would be able to send action events ( I39599 )
  • Implements ICS Extensions API for voip app actions. ( I1274c )
  • Rejecting a call before API level 34 will now correctly destroy the call in Telecom. ( I635b7 )
  • addCall now properly throws Exceptions through the API instead of the parent coroutine ( I83334 )
  • Add a placeholder value to extras bundle ( Iebf7f )
  • 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. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae , b/345472586 )
  • Adds experimental support for extensions to CallsManager#addCall . ( I24d92 )
  • Core-Telecom will now throw a CallException if the platform failed to add the call due to an exception, reaching max call count, etc. ( I41f27 )

Version 1.0.0-alpha03

April 17, 2024

androidx.core:core-telecom:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits .

Bug Fixes

  • Refactor of JetpackConnectionService to correct an issue which occurs on SDK 33 and below when the address passed in is empty. The refactored JetpackConnectionService is also resilient to unexpected NULL values from Telecom platform APIs.
  • Improvements to addCall/CallControlScope API documentation.
  • Test reliability improvements.

Version 1.0.0-alpha02

4 اکتبر 2023

androidx.core:core-telecom:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.

تغییرات API

  • Revamped the API signatures for methods that returned boolean to indicate success/failure to instead return a result class that clearly indicates why an operation succeeded or failed.
  • Moved the CallControlCallback methods as lambda args to addCall to remove the need to explicitly provide a callback in the call scope.

Bug Fixes

  • Fixed a bug in the ConnectionService compatibility layer which would have resulted in no call audio when running against pre-U SDKs.
  • Improve API documentation.

Version 1.0.0-alpha01

10 مه 2023

androidx.core:core-telecom:1.0.0-alpha01 is released. This version is developed in an internal branch and should be used with Android 14 Beta 2.

ویژگی های جدید

  • Introduces the CallsManager API which VoIP apps can use for integrating with the Telecom framework on a device. Calls notified to the platform benefit from foreground execution priority, visibility on Bluetooth, wearable and automotive devices, and simplified audio routing.

    The CallsManager API wraps the legacy ConnectionService API for devices running older versions of Android.

Core and Core-ktx Version 1.16

نسخه 1.16.0

9 آوریل 2025

androidx.core:core:1.16.0 , androidx.core:core-ktx:1.16.0 , and androidx.core:core-testing:1.16.0 are released. Version 1.16.0 contains these commits .

Important changes since 1.15.0 - This library now uses JSpecify nullness annotations , which are type-use. Kotlin developers should use the following compiler argument to enforce correct usage: -Xjspecify-annotations=strict (this is the default starting with version 2.1.0 of the Kotlin compiler). ( Iaf3e1 , b/326456246 )

Version 1.16.0-rc01

26 مارس 2025

androidx.core:core:1.16.0-rc01 , androidx.core:core-ktx:1.16.0-rc01 , and androidx.core:core-testing:1.16.0-rc01 are released. Version 1.16.0-rc01 contains no changes from the previous beta release.

Version 1.16.0-beta01

12 مارس 2025

androidx.core:core:1.16.0-beta01 , androidx.core:core-ktx:1.16.0-beta01 , and androidx.core:core-testing:1.16.0-beta01 are released. Version 1.16.0-beta01 contains these commits .

تغییرات API

  • Refine insets protection APIs ( I7050d )
  • Adds new key to get character bounds in unmagnified window coordinates. ( If7a06 )
  • Add new boolean property to represent if an AccesibilityNodeInfo represents a required field. ( I4fd2d )
  • Backport View.transformMatrixToGlobal to ViewCompat ( If17e2 )

Version 1.16.0-alpha02

29 ژانویه 2025

androidx.core:core:1.16.0-alpha02 , androidx.core:core-ktx:1.16.0-alpha02 , and androidx.core:core-testing:1.16.0-alpha02 are released. Version 1.16.0-alpha02 contains these commits .

تغییرات API

  • Add BuildCompat.isAtLeastB for checking if an API added in Baklava is available ( I0f89c )
  • Add an experimental API to get a list of built-in displays. ( Idda4d )
  • Add a set of APIs related to ensuring system bar contrast ( I9849c )

Bug Fixes

  • Fix issue where getLaunchDisplayId() returned an incorrect default value of 0 on SDK < 26. ( Icd679 )
  • This library now uses JSpecify nullness annotations , which are type-use. Kotlin developers should use the following compiler argument to enforce correct usage: -Xjspecify-annotations=strict (this is the default starting with version 2.1.0 of the Kotlin compiler). ( Iaf3e1 , b/326456246 )

Version 1.16.0-alpha01

11 دسامبر 2024

androidx.core:core:1.16.0-alpha01 , androidx.core:core-ktx:1.16.0-alpha01 , and androidx.core:core-testing:1.16.0-alpha01 are released. Version 1.16.0-alpha01 contains these commits .

تغییرات API

  • Added setLaunchDisplayId to ActivityOptionsCompat . ( I39e77 , b/379669743 )
  • Added compat API for SYSTEM_OVERLAYS . ( Ibd1fd , b/287470173 )
  • Added OutcomeReceiverCompat , a version of Android's OutcomeReceiver available on all API levels. ( Ib8265 , b/380060342 )
  • Added compat class for android.view.ScrollFeedbackProvider . ( Icaa92 )
  • Added ViewCompat.addViewOverlay(View) as an alternative to View.getOverlay().add(View) . The ViewCompat variant fixes an issue where owners like the LifecycleOwner and ViewModelStoreOwner could not be resolved between the view being overlaid and the overlay owner. ( I81413 )
  • Introduces the concept of a View being able to have a disjoint parent. A disjoint parent of a view is a different view that effectively parents the other view, but is not set via the View.parent property. برای اطلاعات بیشتر به مستندات مراجعه کنید. ( Ib2950 )
  • Added a new API ViewGroupCompat#installCompatInsetsDispatch for developers to fix an insets dispatching issue present prior to API 30. ( I11159 )
  • Added FontsContractCompat.TypefaceStyle IntDef for annotating Typeface styles in FontsContractCompat . ( Ib3e5b )

External Contribution

  • Deprecated BuildCompat.isAtLeastV . Callers should check SDK_INT against 35 directly instead. Thanks to Jake Wharton! ( I294d1 )
  • Added a mutability flag to TaskStackBuilder . Thanks to Kamal Faraj! ( Ife0ec , b/371534781 )

Core and Core-ktx Version 1.15

نسخه 1.15.0

30 اکتبر 2024

androidx.core:core:1.15.0 , androidx.core:core-ktx:1.15.0 , and androidx.core:core-testing:1.15.0 are released. Version 1.15.0 contains these commits .

Important changes since 1.14.0

  • 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. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae , b/345472586 )
  • Various updates to compatibility classes for parity with Android 15 SDK.

Version 1.15.0-rc01

16 اکتبر 2024

androidx.core:core:1.15.0-rc01 , androidx.core:core-ktx:1.15.0-rc01 , and androidx.core:core-testing:1.15.0-rc01 are released. Version 1.15.0-rc01 contains no changes since the previous release.

Version 1.15.0-beta01

2 اکتبر 2024

androidx.core:core:1.15.0-beta01 , androidx.core:core-ktx:1.15.0-beta01 , and androidx.core:core-testing:1.15.0-beta01 are released. Version 1.15.0-beta01 contains these commits .

تغییرات API

  • Added itemCount and importantForAccessibilityItemCount fields to CollectionInfoCompat . ( Ibaf34 )

Bug Fixes

  • Fix documentation issues in androidx.core.os.Profiling ( I2542f )

Version 1.15.0-alpha02

21 آگوست 2024

androidx.core:core:1.15.0-alpha02 , androidx.core:core-ktx:1.15.0-alpha02 , and androidx.core:core-testing:1.15.0-alpha02 are released. Version 1.15.0-alpha02 contains these commits .

تغییرات مهم

  • 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. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae , b/345472586 )

تغییرات API

  • Added fallbackQuery XML attribute to downloadable font definitions, allowing character-level fallback with downloadable fonts. ( Idd544 )
  • Adds helper APIs for using ProfilingManager ( If2292 )
  • Add compat method for ActivityOptions.setPendingIntentBackgroundActivityStartMode ( I3ba1f , b/349617674 )
  • Added DisplayCutoutCompat.getCutoutPath ( I58778 , b/279635904 )
  • Reverts deprecation of ParcelCompat.writeBoolean and delegates to the platform API on API level 29 and above. ( I9d243 , b/313834577 )
  • Create FontsContractCompat.requestFonts that takes executors ( I03016 , b/302377512 )
  • Reverts deprecation of LocationCompat.isMock and delegates to the platform API on API level 31 and above. ( I55940 , b/313834577 )
  • Notifications can now be tagged as voicemail. ( I068ab )

Version 1.15.0-alpha01

12 ژوئن 2024

androidx.core:core:1.15.0-alpha01 , androidx.core:core-ktx:1.15.0-alpha01 , and androidx.core:core-testing:1.15.0-alpha01 are released. This version is developed in an internal branch and is compatible with Android 15 Beta 3 ( android-35 ).

تغییرات API

  • Various updates to compatibility classes for parity with Android 15 SDK.

Core and Core-ktx Version 1.14

Version 1.14.0-alpha01

1 مه 2024

androidx.core:core:1.14.0-alpha01 , androidx.core:core-ktx:1.14.0-alpha01 , and androidx.core:core-testing:1.14.0-alpha01 are released. Version 1.14.0-alpha01 contains these commits .

ویژگی های جدید

  • Move to 21 as the default minSdkVersion of androidx libraries ( I6ec7f )

تغییرات API

  • Deprecate additional obsolete compat methods. ( Ie4470 , b/313834577 )
  • Deprecated obsolete compat methods. ( I01d90 , b/313834577 )
  • Updated isAtLeastV() to return true for finalized V SDK. ( I6339a )

Core and Core-ktx Version 1.13

Version 1.13.1

1 مه 2024

androidx.core:core:1.13.1 , androidx.core:core-ktx:1.13.1 , and androidx.core:core-testing:1.13.1 are released. Version 1.13.1 contains these commits .

Bug Fixes

  • Fix issue where when handwriting toolbar is shown, a finger tap can't switch to the regular keyboard ( I7f843 , b/332769437 )

نسخه 1.13.0

April 17, 2024

androidx.core:core:1.13.0 , androidx.core:core-ktx:1.13.0 , and androidx.core:core-testing:1.13.0 are released. Version 1.13.0 contains these commits .

Important changes since 1.12.0

  • The library's minSdkVersion has been raised to 19 . Many compatibility APIs have been marked deprecated since they were only needed prior to API level 19.
  • Several classes have been rewritten in Kotlin to provide better interoperability with Kotlin consumers while preserving Java compatibility.
  • Removed FingerprintManagerCompat , which is a no-op starting in Android V and should not be used on earlier platforms. Clients should migrate to BiometricPrompt immediately.
  • Added PathParser , which can create a Path instance from SVG path strings.

Version 1.13.0-rc01

3 آوریل 2024

androidx.core:core:1.13.0-rc01 , androidx.core:core-ktx:1.13.0-rc01 , and androidx.core:core-testing:1.13.0-rc01 are released. Version 1.13.0-rc01 contains these commits .

رفع اشکال

Version 1.13.0-beta01

20 مارس 2024

androidx.core:core:1.13.0-beta01 , androidx.core:core-ktx:1.13.0-beta01 , and androidx.core:core-testing:1.13.0-beta01 are released. Version 1.13.0-beta01 contains these commits .

تغییرات API

  • PathParser is now final , interpolatePathDataNodes now throws an exception for incompatible arguments instead of returning a boolean , and nodesToPath now belongs to PathParser rather than PathParser.PathDataNode . ( I20d62 )
  • FingerprintManagerCompat has been soft-removed prior to its removal from the Android V platform SDK. The implementation will be replaced with a no-op in the near future, and developers should migrate away from this class immediately. ( I7ca1b )
  • The Pool interface and its subclasses, SimplePool and SynchronizedPool are now written in Kotlin. The generic type of objects being stored in the Pool must now be non-null. ( I08afe )

External Contribution

  • GestureDetectorCompat is now deprecated as GestureDetector is guaranteed to be available in the platform at the library's minimum SDK version. Thanks to Jake Wharton for the contribution. ( Icc4cd )
  • MarginLayoutParamsCompat is now deprecated as MarginLayoutParams is guaranteed to be available in the platform as the library's minimum SDK version. Thanks to Jake Wharton for the contribution. ( I4e0c3 )

Version 1.13.0-alpha05

February 7, 2024

androidx.core:core:1.13.0-alpha05 , androidx.core:core-ktx:1.13.0-alpha05 , and androidx.core:core-testing:1.13.0-alpha05 are released. Version 1.13.0-alpha05 contains these commits.

External Contribution

  • Thanks to Matthew Zavislak for updating the ContextCompat.registerReceiver documentation for correctness. ( 8fd733 )

Version 1.13.0-alpha04

24 ژانویه 2024

androidx.core:core:1.13.0-alpha04 , androidx.core:core-ktx:1.13.0-alpha04 , and androidx.core:core-testing:1.13.0-alpha04 are released. Version 1.13.0-alpha04 contains these commits.

ویژگی های جدید

Kotlin Conversions

  • The androidx.core.util.Consumer class has been rewritten in Kotlin and now enforce that the generic type T now matches the nullability of what the accept() method receives. ( Ie21e0 )
  • androidx.core.util.Supplier has been converted to Kotlin, ensuring that the nullability of the type returned by get() matches the nullability of the generic type. ( I21e9c )
  • androidx.core.util.Function has been rewritten in Kotlin, ensuring that the nullability of the input and outputs of the function match the generic types used. ( I09dd7 )

External Contribution

  • Thanks to Kamal Faraj for adding the AlarmManagerCompat.canScheduleExactAlarms API ( I62e95 , b/315440583 )

Version 1.13.0-alpha03

10 ژانویه 2024

androidx.core:core:1.13.0-alpha03 , androidx.core:core-ktx:1.13.0-alpha03 , and androidx.core:core-testing:1.13.0-alpha03 are released. Version 1.13.0-alpha03 contains these commits.

تغییرات API

Version 1.13.0-alpha02

29 نوامبر 2023

androidx.core:core:1.13.0-alpha02 , androidx.core:core-ktx:1.13.0-alpha02 , and androidx.core:core-testing:1.13.0-alpha02 are released. Version 1.13.0-alpha02 contains these commits.

ویژگی های جدید

  • Adds the OnUserLeaveHintProvider interface to allow any component to receive onUserLeaveHint events necessary for implementing picture-in-picture. This is implemented by ComponentActivity in Activity 1.9.0-alpha01 . ( I54892 )

تغییرات API

  • Deprecated androidx.core.os.CancellationSignal . Usages should be replaced with the platform-provided android.os.CancellationSignal . ( Id45f6 , b/309499026 , b/309054079 )
  • The OnMultiWindowModeChangedProvider , OnNewIntentProvider , OnPictureInPictureModeChangedProvider , OnConfigurationChangedProvider , and OnTrimMemoryProvider interfaces have been converted to Kotlin to ensure that the generic parameters on the Consumer that their listener methods take have the correct nullability (they are all non-null). ( Ib6237 )
  • The MultiWindowModeChangedInfo and PictureInPictureModeChangedInfo classes that are sent to the Consumer added to their respective Provider interfaces are now written in Kotlin. ( Ie08e2 )

Dependency Update

Version 1.13.0-alpha01

18 اکتبر 2023

androidx.core:core:1.13.0-alpha01 , androidx.core:core-ktx:1.13.0-alpha01 , and androidx.core:core-testing:1.13.0-alpha01 are released. Version 1.13.0-alpha01 contains these commits.

تغییرات API

  • Make PathParser public. The class can create a Path instance from SVG path strings. ( Ic7af2 , b/302376846 )
  • Added compat method for Context.createAttributionContext . ( I61dcf , Ibe187 )
  • Marks NotificationCompatSideChannelService as deprecated. ( I18fd9 )
  • New API for differential motion fling. ( I46b0d , Ia9f68 )
  • Additional compat APIs for VelocityTracker to track platform SDK. ( I32753 )

Bug Fixes

  • Override equals and hashCode methods in Person . ( I610a5 )

Core and Core-ktx Version 1.12

نسخه 1.12.0

6 سپتامبر 2023

androidx.core:core:1.12.0 , androidx.core:core-ktx:1.12.0 , and androidx.core:core-testing:1.12.0 are released. Version 1.12.0 contains these commits.

Important changes since 1.11.0

  • Many compat methods added for SDK 34 parity with TextView, AccessibilityNodeInfo, etc.
  • New LocalePreferences APIs to help developers to easily access locale data or user's locale preferences.
  • Deprecated app.BundleCompat in favor of os.BundleCompat .
  • Deprecated BuildCompat.isAtLeastU() . Use SDK_INT >= 34 instead.

Version 1.12.0-rc01

9 آگوست 2023

androidx.core:core:1.12.0-rc01 , androidx.core:core-ktx:1.12.0-rc01 , and androidx.core:core-testing:1.12.0-rc01 are released with no major changes. Version 1.12.0-rc01 contains these commits.

Version 1.12.0-beta01

26 جولای 2023

androidx.core:core:1.12.0-beta01 , androidx.core:core-ktx:1.12.0-beta01 , and androidx.core:core-testing:1.12.0-beta01 are released. Version 1.12.0-beta01 contains these commits.

تغییرات API

  • Added setLineHeight(unit, lineHeight) to TextView compat classes ( Ia9fa9 )
  • Added TypedValueCompat.getUnitFromComplexDimension() from Android 14 ( I958e8 )
  • Added setLineHeight(unit, lineHeight) to TextView compat classes ( Ib2ee1 )
  • Backport miscellaneous Accessibility APIs ( Ic65ba )
  • Backport API 34 AccessibilityNodeInfo methods ( I44182 )
  • Graduate stable SDK checks out of experimental ( Ia9b35 )
  • Backport AccessiiblityWindowInfo 34 APIs ( I96a5d )
  • Deprecated BuildCompat.isAtLeastU() . Use SDK_INT >= 34 instead. ( I4f8e7 , b/289269026 )
  • Removed usages of experimental isAtLeastU() API ( Ie9117 , b/289269026 )
  • Migrated BuildCompat to Kotlin for enhanced Deprecated tag ( I56775 , b/289269026 )
  • Added setLineHeight(unit, lineHeight) to TextView compat classes ( I15716 )
  • New accessibilityDataSensitive compat property. ( I0c6e0 )
  • PendingIntentCompat.getActivity and getService may return null when FLAG_NO_CREATE is specified. ( Iffdf0 , b/289696515 )
  • Updated API files to annotate compatibility suppression ( I8e87a , b/287516207 )
  • Added PendingIntentCompat.send() ( Iaf707 )
  • Adds compat versions of Location.removeVerticalAccuracy() , Location.removeSpeedAccuracy() , and Location.removeBearingAccuracy() . ( I5b640 )

Bug Fixes

  • 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.

Bug Fixes

  • 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 to NotifManagerCompat (aosp/516143e05f824ff49bde3c0c97344a2924867d30)
  • Deprecated app.BundleCompat in favor of os.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)

Bug Fixes

  • 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.

Bug Fixes

  • 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 method performHapticFeedback ( 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 )

Bug Fixes

  • Clarify CollectionInfoCompat docs, especially isHierarchical ( 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 )

Bug Fixes

  • 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 the WindowInsetsController APIs on some API levels, and is the extraction of the backing implementation for WindowInsetsControllerCompat.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 Changes

  • Adds getCurrentInterruptionFilter to NotifManagerCompat ( I8ec95 , b/243183646 )
  • Deprecate app.BundleCompat in favor of os.BundleCompat ( Idc3a2 , b/274577000 )
  • Add TestConsumer so developers can record values in a test. ( I937c1 )

Bug Fixes

  • 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 of getType requires that the caller hold the correct read permission. FileProvider now provides a default getTypeAnonymous 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

نسخه 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.

External Contribution

  • Fix BadParcelableException being thrown for result being null b/277434277 , b/278118318 contributed by Mygod Studio

نسخه 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 of set/getMinMillisBetweteenContentChanges have been renamed to set/getMinDurationBetweenContentChanges and now take a long for their duration. ( f46689 )
  • Added NotificationCompat.bigLargeIcon(Icon) ( I60855 )

Bug Fixes

  • 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 and CoordinatorLayout ( bdd72e )

Version 1.10.0-alpha02

January 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 Changes

  • Added BuildCompat constant for AD_SERVICES extension version ( I51d98 )
  • Add BEHAVIOR_DEFAULT to WindowInsetsControllerCompat . BEHAVIOR_SHOW_BARS_BY_SWIPE and BEHAVIOR_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 Changes

  • Adds CallStyle to NotificationCompat ( 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 )

Bug Fixes

  • 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 using Icon ( Ice26d )
  • Added @RequiresPermission to APIs that require granting the POST_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.

Bug Fixes

  • 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 Changes

Bug Fixes

  • Added @RequiresPermission to APIs that require granting the POST_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 platform Typeface.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 )

External Contribution

  • 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 Changes

  • 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.

Bug Fixes

  • Revert deprecation of BuildCompat.isAtLeastT() and accompanying SDK_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

نسخه 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, including onPrepareMenu and onMenuClosed
  • Fixed issue where FileProvider would fail with IllegalArgumentException 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.

Bug Fixes

  • Cast OnSharedElementsReadyListener to fully-qualified platform class to prevent ClassCastException ( 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 Changes

  • 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.

Bug Fixes

  • TypefaceCompat will now respect both requested and loaded style information on API 29+. This is a behavior change when the loaded fonts are not FontWeight.Normal or FontWeight.Bold , as the actual loaded weight and style will be used. ( #212 , b/194553426 )

External Contribution

  • Thanks RikkaW for ensuring we correctly apply Typeface weight in TypefaceCompat on API 29+. #212

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 Changes

  • The MenuProvider interface now includes the onPrepareMenu() callback, which is called when a menu is dynamically modified and should be shown. ( Ie85f9 )
  • The MenuProvider interface now includes the onMenuClosed() 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 in Icon#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. Deprecated ViewCompat.getWindowInsetsController in favor of WindowCompat.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 )

Bug Fixes

  • 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 Changes

  • 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 to AccessibilityNodeInfoCompat ( 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 Changes

  • Adds the OnPictureInPictureModeChangedProvider interface to allow any component to receive picture-in-picture mode change events. This is implemented by ComponentActivity in Activity 1.5.0-alpha02 . ( I9f567 )
  • Adds the OnMultiWindowModeChangedProvider interface to allow any component to receive multi-window mode change events. This is implemented by ComponentActivity in Activity 1.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 Changes

  • Converted WindowInsetsControllerCompat to depend on a View instead of a Window or the platform WindowInsetsController . 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 Changes

  • 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 , and onTrimMemoryProvider 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 Changes

  • 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 )

Bug Fixes

  • Adjusts the scroll distance for accessibility action ( If74ae )
  • Removed hardcoded language code in Javadocs ( Ie5d68 )

Core and Core-ktx Version 1.7

Version 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.

Bug Fixes

  • MenuHostHelper will now properly remove all LifecycleObservers when a MenuProvider is removed prior to the Lifecycle being DESTROYED . ( 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 Changes

  • 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 Changes

  • Added MenuHost interface for components that manage MenuProvider s. ( I83f23 )
  • Added MenuProvider interface that can be used to indicate that a component is supplying menu items. ( If8a40 )
  • Added MenuHostHelper to simplify implementing MenuHost 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 from PermissionChecker 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 and LocationManager.hasProvider() for platform parity. ( I4f3e4 )

Bug Fixes

  • Removed the use of lambdas in PackageManagerCompat to avoid LambdaDesugaring 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 Changes

  • Added an API to configure an InputConnection to use View.performReceiveContent to handle IME calls to InputConnection.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.

Bug Fixes

  • Move to 21 as the default minSdkVersion of androidx libraries. ( I6ec7f )

Version 1.1.0-beta02

April 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

February 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.

Bug Fixes

  • 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.

Bug Fixes

  • 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.

Version 1.0.0-alpha03

23 فوریه 2022

androidx.core:core-remoteviews:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits.

Bug Fixes

  • Fix for infrastructure.

Version 1.0.0-alpha02

26 ژانویه 2022

androidx.core:core-remoteviews:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.

Version 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.

Bug Fixes

  • Fixed a crash when initializing PlayServicesDevicePerformance found in version 1.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 Changes

  • 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 Changes

  • 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 Changes

  • Initial beta release of DevicePerformance specific API.

Version 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 Changes

  • Add optional module providing media performance class from Google Play Services.
  • core-performance constructors changed to support optional implementation.

Version 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

Version 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-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 .

Bug Fixes

  • Add isLightTheme attribute to themes of SplashScreen ( 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. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae , b/345472586 )

Version 1.2.0-alpha01

April 17, 2024

androidx.core:core-splashscreen:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits .

Bug Fixes

  • 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 as PhoneWindow , so it's unnecessary to inherit the value from API 29. Also remove the override action from applyAppSystemUiTheme , since enforceNavigationBarContrast 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 .

Bug Fixes

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.

Bug Fixes

  • 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.

Bug Fixes

  • Fixed a NullPointerException when SplashScreenView#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.

Bug Fixes

  • 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.

Bug Fixes

  • Fixed Lateinit property platformView has not been initialized ( b/214835299 )

External Contribution

  • 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 the OnExitAnimationListener ( #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.

Bug Fixes

  • 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

Version 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 call activity.setTheme() before onCreate() to set your app theme after the splash screen is shown.
  • Backward support of the windowSplashScreenIconBackgroundColor attribute: using Theme.SplashScreen.IconBackground and windowSplashScreenIconBackgroundColor , 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 Changes

Bug Fixes

  • Make postSplashScreenTheme optional ( I8c4bf )

Version 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 Changes

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 new com.google.android.gms:play-services-appindex library. This version of the library is not compatible with com.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 new com.google.android.gms:play-services-appindex library. Note that this version of the library is not compatible with com.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. هیچ ویژگی جدیدی وجود ندارد.

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. هیچ ویژگی جدیدی وجود ندارد.

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 to com.google.android.gms:play-services-appindex . Developers who use this new version should not externally depend on com.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

نسخه 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 Changes

  • 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.

Bug Fixes

  • Update BuildCompat to use current long press timeout on latest platforms ( b/185118174 )
  • Remove use of synchronized from ContextCompat , 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 Changes

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 )

Bug Fixes

  • 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 Changes

  • Add TelephoneManagerCompat and SubscriptionManagerCompat ( I5568d )
  • Remove deprecated addCapabilityBinding method from ShortcutInfoCompat ( Ie8f70 )
  • Add addCapabilityBinding with parameters and addCapabilityBinding without parameters setters to ShortcutInfoCompat.Builder , deprecated old addCapabilityBinding ( I90686 )
  • Add LocationCompat class and LocationManagerCompat.getCurrentLocation() ( I78d9a )
  • Deprecated ModeCompat.isNative which is replaced by DisplayCompat.getMode . ( I9a6a2 )
  • Added ContextCompat.getAttributionTag() and UserHandleCompat.getUserHandleForUid() ( Iea486 )

External Contribution

  • Backport tintable background and check mark for CheckedTextView ( I8575c )

Version 1.6.0-alpha01

March 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 Changes

  • 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.

Bug Fixes

  • 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.

Bug Fixes

  • 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.

Version 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.

Bug Fixes

  • No longer automatically report shortcut usage when a shortcut is added / updated. Instead usage reporting will be moved to ShortcutManagerCompat#pushDynamicShortcut .

Version 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 with androidx.core ; you can start using ShortcutManagerCompat 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 Changes

  • Added ShortcutInfoChangeListenerImpl , to be used by ShortcutManagerCompat to donate shortcuts to Firebase App Index.

Core and Core-ktx Version 1.5.0

نسخه 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 and WindowInsetsCompat 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.

Bug Fixes

Version 1.5.0-rc01

March 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

March 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 Changes

  • 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.

Bug Fixes

  • Deprecated ModeCompat.isNative which is replaced by DisplayCompat.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 Changes

  • 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() from OnReceiveContentListener ; now MIME types are passed as an additional arg on the ViewCompat 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 to view.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 )

Bug Fixes

  • Fix a bug where setting BigPictureStyle.bigLargeIcon would break the BigPictureStyle for that notification on newer OS versions. ( Ic623d )

External Contribution

  • 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 Changes

  • 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 to getCachedFont ( 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 Changes

  • Fix incomplete Style recovery when using NotificationCompat.Builder.<init>(Context,Notification) ( Ib297a )
  • New notification categories types are now available ( I9521a )

Bug Fixes

  • 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 Changes

  • 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 )

Bug Fixes

  • For pre-P, ensure panes are marked as important for accessibility and support CONTENT_CHANGE_TYPE_PANE_DISAPPEARED events. ( Iaeffc )

External Contribution

  • API lint check for the StaticFinalBuilder is enabled for androidx ( I2b11b , b/138602561 )

Version 1.5.0-alpha02

August 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 new ime() 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 the adjustResize window soft input mode . If you're instead using the adjustPan mode, it should work reliably back to API 14.

API Changes

  • Added ObjectsCompat#toString(Object, String) . This offers the behavior of Objects#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 and NotificationCompat.MessagingStyle.addHistoricMessage ( I62bb6 )
  • Update Notification documentation ( I1293f )
  • Fix nullability of NotificationCompat.Builder ( I932e3 )
  • Added NotificationChannelCompat and NotificationChannelGroupCompat ( Icc3b6 )
  • Add addExtraDataToAccessibilityNodeInfo to AccessibilityNodeProviderCompat ( I26575 )
  • Update WindowInsetsCompat to Android 11 APIs ( I3df9e )

External Contribution

  • Add Uri overloads for MailTo 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 , and Notification classes

Bug Fixes

  • 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 Changes

  • 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 )

Bug Fixes

  • Added permissions validation for ActivityCompat.requestPermissions() ( I372cc , b/122163323 )
  • Extracted v28+ calls into a separate static class, which fixes a NoClassDefFoundError error for View#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.

Bug Fixes

  • 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.

Bug Fixes

  • 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

نسخه 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.

Bug Fixes

  • WindowInsetsCompat now properly implements hashCode() and equals() 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 Changes

  • 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 in NotificationCompat
  • 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 and InputConnectionCompat

Version 1.2.0-rc01

November 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 Changes

  • 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 to NotificationCompat ( b/138601213 )

Bug Fixes

  • Fixed an issue with the handling of unicode digits in address detection. ( aosp/1129852 )

External Contribution

  • 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 in ShortcutInfo.Builder in Android framework.
  • Added ShortcutInfoCompat.Builder#setRank() and ShortcutInfoCompat#getRank() to match the ShortcutInfo in Android framework.

رفع اشکال

Version 1.2.0-alpha03

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 , and isEnabled to TraceCompat ( aosp/987332 )
  • Unhid APIs in WindowInsetsCompat and ViewDragHelper ( aosp/979408 )

رفع اشکال

  • Fixed bug with NestedScrollView scrolling in response to a11y scroll calls. ( aosp/971000 )
  • Switched to using SimpleArrayMap in ViewCompat 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 and InputConnectionCompat

نسخه 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 and NestedScrollingParent3 .
  • This library no longer exposes the androidx.collection dependency as part of its API. If you were depending on the androidx.collection types implicitly through a dependency on Core, you will need to add an explicit androidx.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

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 implement LifecycleOwner to maintain binary compatibility with androidx.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 check PackageManager ( 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 to NotificationCompat ( 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 only NotificationManagerCompat 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() , and setContextClickable() . Added AccessibilityAction s instead.
  • Added ViewCompat.setAccessibilityPaneTitle() , getAccessibilityPaneTitle() , setScreenReaderFocusable() , isScreenReaderFocusable() , setAccessibilityHeading() , and isAccessibilityHeading() , to backport this View accessibility functionality through API 19.
  • Added ViewCompat.enableAccessibleClickableSpanSupport() to allow developers to make non-URL ClickableSpan 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. See AnimatorTestRule 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

August 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.

Bug Fixes

  • 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 Changes

  • 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

November 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

7 نوامبر 2018

Bugfix release of core-1.0.1 and appcompat-1.0.2 .

رفع اشکال

  • Fixed bug where PrecomputedTextCompat would crash when used with RTL AppCompatTextView . 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.
،

هسته

Target the latest platform features and APIs while also supporting older devices.

This table lists all the artifacts in the androidx.core group.

مصنوع انتشار پایدار کاندید را آزاد کنید Beta Release Alpha Release
هسته 1.16.0 - - -
core-animation 1.0.0 - - -
core-google-shortcuts 1.1.0 - - 1.2.0-alpha01
core-performance 1.0.0 - - -
core-remoteviews 1.1.0 - - -
core-role 1.1.0 - - -
core-splashscreen 1.0.1 1.1.0-rc01 1.2.0-beta02 -
This library was last updated on: May 7, 2025

Declaring dependencies

To add a dependency on Core, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.

Add the dependencies for the artifacts you need in the build.gradle file for your app or module:

شیار

dependencies {
    def core_version = "1.16.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-beta02"
}

کاتلین

dependencies {
    val core_version = "1.16.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-beta02")
}

For more information about dependencies, see Add Build Dependencies .

بازخورد

Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.

یک شماره جدید ایجاد کنید

See the Issue Tracker documentation for more information.

Core-Viewtree Version 1.0

نسخه 1.0.0

26 فوریه 2025

androidx.core:core-viewtree:1.0.0 has been promoted to its first stable release with no changes since its previous RC version.

This library introduces the concept of a View being able to have a disjoint parent. A disjoint parent of a view is a separate View object that acts as the view's parent, but is not set via the View.parent property. Examples of Views with disjoint parents are ViewOverlays , popups, and dialogs, which all appear outside of the main view hierarchy. A View can only have a disjoint parent if it does not have a direct parent via the platform's View.parent property. Currently, androidx only sets the disjoint parent for ViewOverlays created by Transition 1.6.0-alpha01 and higher. You can also specify your own disjoint parents for views. برای اطلاعات بیشتر به مستندات مراجعه کنید.

Version 1.0.0-rc01

12 فوریه 2025

androidx.core:core-viewtree:1.0.0-rc01 is released with no changes since the beta.

Version 1.0.0-beta01

29 ژانویه 2025

androidx.core:core-viewtree:1.0.0-beta01 is released with no changes since the alpha. Version 1.0.0-beta01 contains these commits .

Version 1.0.0-alpha01

11 دسامبر 2024

androidx.core:core-viewtree:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits .

ویژگی های جدید

  • Initial release of core-viewtree , transitively exposed by androidx core.

  • This initial release introduces the concept of a View being able to have a disjoint parent. A disjoint parent of a view is a separate View object that acts as the view's parent, but is not set via the View.parent property. Examples of Views with disjoint parents are ViewOverlays , popups, and dialogs, which all appear outside of the main view hierarchy. A View can only have a disjoint parent if it does not have a direct parent via the platform's View.parent property. Currently, androidx only sets the disjoint parent for ViewOverlays created by transition. You can also specify your own disjoint parents for views. برای اطلاعات بیشتر به مستندات مراجعه کنید.

تغییرات API

  • Adds ViewParent.getParentOrViewTreeDisjointParent() and ViewParent.setViewTreeDisjointParent(View, ViewParent?) methods ( Ib2950 )

Core-i18n Version 1.0

نسخه 1.0.0

9 آوریل 2025

androidx.core:core-i18n:1.0.0 is released.

The component makes it easier to create properly internationalized applications, focusing on two main areas:

  • Date and time formatting functionality following the best current practices, honoring user custom settings, and providing a unifying API that works properly on old and new Android versions.
  • A backport of android.icu.text.MessageFormat that works on older APIs. But still useful on new Android versions because it integrates the date / time formatting mentioned above. That honors the user settings, which android.icu.text.MessageFormat does not do.

The component will be the vehicle to backporting new i18n APIs, adding new i18n functionality or fixes, and in general making internationalization easier.

Version 1.0.0-rc01

26 مارس 2025

androidx.core:core-i18n:1.0.0-rc01 is released with no notable changes since the last beta. Version 1.0.0-rc01 contains these commits .

Version 1.0.0-beta01

12 مارس 2025

androidx.core:core-i18n:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits .

ویژگی های جدید

  • This is the first release of the core-i18n component. The component makes it easier to create properly internationalized applications, focusing on two main areas:
    • Date and time formatting functionality following the best current practices, honoring user custom settings, and providing a unifying API that works properly on old and new Android versions.
    • A backport of android.icu.text.MessageFormat that works on older APIs. But still useful on new Android versions because it integrates the date / time formatting mentioned above. That honors the user settings, which android.icu.text.MessageFormat does not do.
    • The component will be the vehicle to backporting new i18n APIs, adding new i18n functionality or fixes, and in general making internationalization easier.

Version 1.0.0-alpha01

26 جولای 2023

androidx.core:core-i18n:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.

Core-location-altitude Version 1.0.

Version 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 , and androidx.core:core-location-altitude-proto:1.0.0-alpha03 are released. Version 1.0.0-alpha03 contains these commits .

رفع امنیتی

  • As of this change , androidx compiles against protobuf 4.28.2 in order to address CVE-2024-7254 . Upgrade your dependency on androidx.core:core-location-altitude-proto and androidx.core:core-location-altitude-external-protobuf to 1.1.0-alpha03 to address the vulnerability risk.

Bug Fixes

  • 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. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae , b/345472586 )

Version 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 , and androidx.core:core-location-altitude-proto:1.0.0-alpha02 are released. Version 1.0.0-alpha02 contains these commits .

Bug Fixes

  • Fixes proguard failure caused by the repackaging of proto libraries.

External Contribution

  • Bug fix above provided by andrekir@pm.me

Version 1.0.0-alpha01

26 جولای 2023

androidx.core:core-i18n:1.0.0-alpha01 and androidx.core:core-location-altitude:1.0.0-alpha01 are released. Version 1.0.0-alpha01 contains these commits.

ویژگی های جدید

  • Added AltitudeConverterCompat class with a single static method addMslAltitudeToLocation(Context, Location) ( I11168 ).

Core-telecom Version 1.0.

نسخه 1.0.0

7 مه 2025

androidx.core:core-telecom:1.0.0 is released. Version 1.0.0 contains these commits .

Major features of 1.0.0

  • Initial stable release of core-telecom API, focusing on CallsManager API surface for integration of VoIP calls into the Android platform.

Version 1.0.0-rc01

9 آوریل 2025

androidx.core:core-telecom:1.0.0-rc01 is released. Version 1.0.0-rc01 contains these commits .

ویژگی های جدید

New experimental API call extensions. The new experimental extensions added in this release are:

  • Support for a Meeting Summary Remote Extension, allowing a remote surface to receive meeting summary information (current speaker and participant count) from the connected VoIP application. ( 7cf095f )
  • Support for a Call Icon Extension that allows a VoIP app to send an Icon Uri to a remote InCallService (auto, watch face, etc.). The Icon can be updated throughout the call and can have the same URI value. ( 8e1813e )

Version 1.0.0-beta01

11 دسامبر 2024

androidx.core:core-telecom:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits .

ویژگی های جدید

Beta release for the following new features:

  • Fetching available audio endpoints before a call is added. App developers can now display all the available endpoints before initiating a call which allows users to seamlessly select their preferred audio endpoint and optimize their setup. This eliminates the need for in-call adjustments at the start of the call, providing a smoother experience.
  • Experimental API support for VOIP application call extensions. Call extensions allow an application to provide more details about an ongoing call, such as the list of participants in a group call or meeting. Supported remote surfaces such as Android Auto can then show this information to the user and allow them to interact with the supported extensions. The new experimental extensions added in this release are:
    • Support for showing the participants in a group call or meeting and describing which participant is active. Support for the following optional actions on participants:
      • Raising and lowering the hands of participants.
      • Kicking participants.
    • Support for call silence, which allows remote surfaces to silence a VOIP call without also globally muting the mic.

API Changes

  • Rename addLocalSilenceExtension to addLocalCallsilenceExtension ( If4a9c )
  • Change preferredStartingCallEndpoint from var to val . ( Iab6b7 )
  • Add local call silence APIs ( I29dd0 )
  • Implement the compareTo function for the CallEndpointCompat class ( Ia06b7 )
  • Adds experimental app actions API. ( Ifb796 )
  • Add new CallsManager API getAvailableStartingCallEndpoints ( Ia8bcf )
  • Update ExperimentalAppActions annotation to ensure that it is accurately tracking all usages of the experimental feature. ( Id5ea5 )

Bug Fixes

  • Add global mute state receiver for Android API level 28 through 33. ( I75e66 )
  • Fixes an issue where only the latest connected InCallService would be able to send action events ( I39599 )
  • Implements ICS Extensions API for voip app actions. ( I1274c )
  • Rejecting a call before API level 34 will now correctly destroy the call in Telecom. ( I635b7 )
  • addCall now properly throws Exceptions through the API instead of the parent coroutine ( I83334 )
  • Add a placeholder value to extras bundle ( Iebf7f )
  • 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. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae , b/345472586 )
  • Adds experimental support for extensions to CallsManager#addCall . ( I24d92 )
  • Core-Telecom will now throw a CallException if the platform failed to add the call due to an exception, reaching max call count, etc. ( I41f27 )

Version 1.0.0-alpha03

April 17, 2024

androidx.core:core-telecom:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits .

Bug Fixes

  • Refactor of JetpackConnectionService to correct an issue which occurs on SDK 33 and below when the address passed in is empty. The refactored JetpackConnectionService is also resilient to unexpected NULL values from Telecom platform APIs.
  • Improvements to addCall/CallControlScope API documentation.
  • Test reliability improvements.

Version 1.0.0-alpha02

4 اکتبر 2023

androidx.core:core-telecom:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.

API Changes

  • Revamped the API signatures for methods that returned boolean to indicate success/failure to instead return a result class that clearly indicates why an operation succeeded or failed.
  • Moved the CallControlCallback methods as lambda args to addCall to remove the need to explicitly provide a callback in the call scope.

Bug Fixes

  • Fixed a bug in the ConnectionService compatibility layer which would have resulted in no call audio when running against pre-U SDKs.
  • Improve API documentation.

Version 1.0.0-alpha01

10 مه 2023

androidx.core:core-telecom:1.0.0-alpha01 is released. This version is developed in an internal branch and should be used with Android 14 Beta 2.

ویژگی های جدید

  • Introduces the CallsManager API which VoIP apps can use for integrating with the Telecom framework on a device. Calls notified to the platform benefit from foreground execution priority, visibility on Bluetooth, wearable and automotive devices, and simplified audio routing.

    The CallsManager API wraps the legacy ConnectionService API for devices running older versions of Android.

Core and Core-ktx Version 1.16

نسخه 1.16.0

9 آوریل 2025

androidx.core:core:1.16.0 , androidx.core:core-ktx:1.16.0 , and androidx.core:core-testing:1.16.0 are released. Version 1.16.0 contains these commits .

Important changes since 1.15.0 - This library now uses JSpecify nullness annotations , which are type-use. Kotlin developers should use the following compiler argument to enforce correct usage: -Xjspecify-annotations=strict (this is the default starting with version 2.1.0 of the Kotlin compiler). ( Iaf3e1 , b/326456246 )

Version 1.16.0-rc01

26 مارس 2025

androidx.core:core:1.16.0-rc01 , androidx.core:core-ktx:1.16.0-rc01 , and androidx.core:core-testing:1.16.0-rc01 are released. Version 1.16.0-rc01 contains no changes from the previous beta release.

Version 1.16.0-beta01

12 مارس 2025

androidx.core:core:1.16.0-beta01 , androidx.core:core-ktx:1.16.0-beta01 , and androidx.core:core-testing:1.16.0-beta01 are released. Version 1.16.0-beta01 contains these commits .

API Changes

  • Refine insets protection APIs ( I7050d )
  • Adds new key to get character bounds in unmagnified window coordinates. ( If7a06 )
  • Add new boolean property to represent if an AccesibilityNodeInfo represents a required field. ( I4fd2d )
  • Backport View.transformMatrixToGlobal to ViewCompat ( If17e2 )

Version 1.16.0-alpha02

29 ژانویه 2025

androidx.core:core:1.16.0-alpha02 , androidx.core:core-ktx:1.16.0-alpha02 , and androidx.core:core-testing:1.16.0-alpha02 are released. Version 1.16.0-alpha02 contains these commits .

API Changes

  • Add BuildCompat.isAtLeastB for checking if an API added in Baklava is available ( I0f89c )
  • Add an experimental API to get a list of built-in displays. ( Idda4d )
  • Add a set of APIs related to ensuring system bar contrast ( I9849c )

Bug Fixes

  • Fix issue where getLaunchDisplayId() returned an incorrect default value of 0 on SDK < 26. ( Icd679 )
  • This library now uses JSpecify nullness annotations , which are type-use. Kotlin developers should use the following compiler argument to enforce correct usage: -Xjspecify-annotations=strict (this is the default starting with version 2.1.0 of the Kotlin compiler). ( Iaf3e1 , b/326456246 )

Version 1.16.0-alpha01

11 دسامبر 2024

androidx.core:core:1.16.0-alpha01 , androidx.core:core-ktx:1.16.0-alpha01 , and androidx.core:core-testing:1.16.0-alpha01 are released. Version 1.16.0-alpha01 contains these commits .

API Changes

  • Added setLaunchDisplayId to ActivityOptionsCompat . ( I39e77 , b/379669743 )
  • Added compat API for SYSTEM_OVERLAYS . ( Ibd1fd , b/287470173 )
  • Added OutcomeReceiverCompat , a version of Android's OutcomeReceiver available on all API levels. ( Ib8265 , b/380060342 )
  • Added compat class for android.view.ScrollFeedbackProvider . ( Icaa92 )
  • Added ViewCompat.addViewOverlay(View) as an alternative to View.getOverlay().add(View) . The ViewCompat variant fixes an issue where owners like the LifecycleOwner and ViewModelStoreOwner could not be resolved between the view being overlaid and the overlay owner. ( I81413 )
  • Introduces the concept of a View being able to have a disjoint parent. A disjoint parent of a view is a different view that effectively parents the other view, but is not set via the View.parent property. برای اطلاعات بیشتر به مستندات مراجعه کنید. ( Ib2950 )
  • Added a new API ViewGroupCompat#installCompatInsetsDispatch for developers to fix an insets dispatching issue present prior to API 30. ( I11159 )
  • Added FontsContractCompat.TypefaceStyle IntDef for annotating Typeface styles in FontsContractCompat . ( Ib3e5b )

External Contribution

  • Deprecated BuildCompat.isAtLeastV . Callers should check SDK_INT against 35 directly instead. Thanks to Jake Wharton! ( I294d1 )
  • Added a mutability flag to TaskStackBuilder . Thanks to Kamal Faraj! ( Ife0ec , b/371534781 )

Core and Core-ktx Version 1.15

نسخه 1.15.0

30 اکتبر 2024

androidx.core:core:1.15.0 , androidx.core:core-ktx:1.15.0 , and androidx.core:core-testing:1.15.0 are released. Version 1.15.0 contains these commits .

Important changes since 1.14.0

  • 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. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae , b/345472586 )
  • Various updates to compatibility classes for parity with Android 15 SDK.

Version 1.15.0-rc01

16 اکتبر 2024

androidx.core:core:1.15.0-rc01 , androidx.core:core-ktx:1.15.0-rc01 , and androidx.core:core-testing:1.15.0-rc01 are released. Version 1.15.0-rc01 contains no changes since the previous release.

Version 1.15.0-beta01

2 اکتبر 2024

androidx.core:core:1.15.0-beta01 , androidx.core:core-ktx:1.15.0-beta01 , and androidx.core:core-testing:1.15.0-beta01 are released. Version 1.15.0-beta01 contains these commits .

API Changes

  • Added itemCount and importantForAccessibilityItemCount fields to CollectionInfoCompat . ( Ibaf34 )

Bug Fixes

  • Fix documentation issues in androidx.core.os.Profiling ( I2542f )

Version 1.15.0-alpha02

21 آگوست 2024

androidx.core:core:1.15.0-alpha02 , androidx.core:core-ktx:1.15.0-alpha02 , and androidx.core:core-testing:1.15.0-alpha02 are released. Version 1.15.0-alpha02 contains these commits .

تغییرات مهم

  • 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. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae , b/345472586 )

API Changes

  • Added fallbackQuery XML attribute to downloadable font definitions, allowing character-level fallback with downloadable fonts. ( Idd544 )
  • Adds helper APIs for using ProfilingManager ( If2292 )
  • Add compat method for ActivityOptions.setPendingIntentBackgroundActivityStartMode ( I3ba1f , b/349617674 )
  • Added DisplayCutoutCompat.getCutoutPath ( I58778 , b/279635904 )
  • Reverts deprecation of ParcelCompat.writeBoolean and delegates to the platform API on API level 29 and above. ( I9d243 , b/313834577 )
  • Create FontsContractCompat.requestFonts that takes executors ( I03016 , b/302377512 )
  • Reverts deprecation of LocationCompat.isMock and delegates to the platform API on API level 31 and above. ( I55940 , b/313834577 )
  • Notifications can now be tagged as voicemail. ( I068ab )

Version 1.15.0-alpha01

12 ژوئن 2024

androidx.core:core:1.15.0-alpha01 , androidx.core:core-ktx:1.15.0-alpha01 , and androidx.core:core-testing:1.15.0-alpha01 are released. This version is developed in an internal branch and is compatible with Android 15 Beta 3 ( android-35 ).

API Changes

  • Various updates to compatibility classes for parity with Android 15 SDK.

Core and Core-ktx Version 1.14

Version 1.14.0-alpha01

1 مه 2024

androidx.core:core:1.14.0-alpha01 , androidx.core:core-ktx:1.14.0-alpha01 , and androidx.core:core-testing:1.14.0-alpha01 are released. Version 1.14.0-alpha01 contains these commits .

ویژگی های جدید

  • Move to 21 as the default minSdkVersion of androidx libraries ( I6ec7f )

API Changes

  • Deprecate additional obsolete compat methods. ( Ie4470 , b/313834577 )
  • Deprecated obsolete compat methods. ( I01d90 , b/313834577 )
  • Updated isAtLeastV() to return true for finalized V SDK. ( I6339a )

Core and Core-ktx Version 1.13

Version 1.13.1

1 مه 2024

androidx.core:core:1.13.1 , androidx.core:core-ktx:1.13.1 , and androidx.core:core-testing:1.13.1 are released. Version 1.13.1 contains these commits .

Bug Fixes

  • Fix issue where when handwriting toolbar is shown, a finger tap can't switch to the regular keyboard ( I7f843 , b/332769437 )

نسخه 1.13.0

April 17, 2024

androidx.core:core:1.13.0 , androidx.core:core-ktx:1.13.0 , and androidx.core:core-testing:1.13.0 are released. Version 1.13.0 contains these commits .

Important changes since 1.12.0

  • The library's minSdkVersion has been raised to 19 . Many compatibility APIs have been marked deprecated since they were only needed prior to API level 19.
  • Several classes have been rewritten in Kotlin to provide better interoperability with Kotlin consumers while preserving Java compatibility.
  • Removed FingerprintManagerCompat , which is a no-op starting in Android V and should not be used on earlier platforms. Clients should migrate to BiometricPrompt immediately.
  • Added PathParser , which can create a Path instance from SVG path strings.

Version 1.13.0-rc01

3 آوریل 2024

androidx.core:core:1.13.0-rc01 , androidx.core:core-ktx:1.13.0-rc01 , and androidx.core:core-testing:1.13.0-rc01 are released. Version 1.13.0-rc01 contains these commits .

Bug Fixes

Version 1.13.0-beta01

20 مارس 2024

androidx.core:core:1.13.0-beta01 , androidx.core:core-ktx:1.13.0-beta01 , and androidx.core:core-testing:1.13.0-beta01 are released. Version 1.13.0-beta01 contains these commits .

API Changes

  • PathParser is now final , interpolatePathDataNodes now throws an exception for incompatible arguments instead of returning a boolean , and nodesToPath now belongs to PathParser rather than PathParser.PathDataNode . ( I20d62 )
  • FingerprintManagerCompat has been soft-removed prior to its removal from the Android V platform SDK. The implementation will be replaced with a no-op in the near future, and developers should migrate away from this class immediately. ( I7ca1b )
  • The Pool interface and its subclasses, SimplePool and SynchronizedPool are now written in Kotlin. The generic type of objects being stored in the Pool must now be non-null. ( I08afe )

External Contribution

  • GestureDetectorCompat is now deprecated as GestureDetector is guaranteed to be available in the platform at the library's minimum SDK version. Thanks to Jake Wharton for the contribution. ( Icc4cd )
  • MarginLayoutParamsCompat is now deprecated as MarginLayoutParams is guaranteed to be available in the platform as the library's minimum SDK version. Thanks to Jake Wharton for the contribution. ( I4e0c3 )

Version 1.13.0-alpha05

February 7, 2024

androidx.core:core:1.13.0-alpha05 , androidx.core:core-ktx:1.13.0-alpha05 , and androidx.core:core-testing:1.13.0-alpha05 are released. Version 1.13.0-alpha05 contains these commits.

External Contribution

  • Thanks to Matthew Zavislak for updating the ContextCompat.registerReceiver documentation for correctness. ( 8fd733 )

Version 1.13.0-alpha04

24 ژانویه 2024

androidx.core:core:1.13.0-alpha04 , androidx.core:core-ktx:1.13.0-alpha04 , and androidx.core:core-testing:1.13.0-alpha04 are released. Version 1.13.0-alpha04 contains these commits.

ویژگی های جدید

Kotlin Conversions

  • The androidx.core.util.Consumer class has been rewritten in Kotlin and now enforce that the generic type T now matches the nullability of what the accept() method receives. ( Ie21e0 )
  • androidx.core.util.Supplier has been converted to Kotlin, ensuring that the nullability of the type returned by get() matches the nullability of the generic type. ( I21e9c )
  • androidx.core.util.Function has been rewritten in Kotlin, ensuring that the nullability of the input and outputs of the function match the generic types used. ( I09dd7 )

External Contribution

  • Thanks to Kamal Faraj for adding the AlarmManagerCompat.canScheduleExactAlarms API ( I62e95 , b/315440583 )

Version 1.13.0-alpha03

January 10, 2024

androidx.core:core:1.13.0-alpha03 , androidx.core:core-ktx:1.13.0-alpha03 , and androidx.core:core-testing:1.13.0-alpha03 are released. Version 1.13.0-alpha03 contains these commits.

API Changes

Version 1.13.0-alpha02

29 نوامبر 2023

androidx.core:core:1.13.0-alpha02 , androidx.core:core-ktx:1.13.0-alpha02 , and androidx.core:core-testing:1.13.0-alpha02 are released. Version 1.13.0-alpha02 contains these commits.

ویژگی های جدید

  • Adds the OnUserLeaveHintProvider interface to allow any component to receive onUserLeaveHint events necessary for implementing picture-in-picture. This is implemented by ComponentActivity in Activity 1.9.0-alpha01 . ( I54892 )

API Changes

  • Deprecated androidx.core.os.CancellationSignal . Usages should be replaced with the platform-provided android.os.CancellationSignal . ( Id45f6 , b/309499026 , b/309054079 )
  • The OnMultiWindowModeChangedProvider , OnNewIntentProvider , OnPictureInPictureModeChangedProvider , OnConfigurationChangedProvider , and OnTrimMemoryProvider interfaces have been converted to Kotlin to ensure that the generic parameters on the Consumer that their listener methods take have the correct nullability (they are all non-null). ( Ib6237 )
  • The MultiWindowModeChangedInfo and PictureInPictureModeChangedInfo classes that are sent to the Consumer added to their respective Provider interfaces are now written in Kotlin. ( Ie08e2 )

Dependency Update

Version 1.13.0-alpha01

18 اکتبر 2023

androidx.core:core:1.13.0-alpha01 , androidx.core:core-ktx:1.13.0-alpha01 , and androidx.core:core-testing:1.13.0-alpha01 are released. Version 1.13.0-alpha01 contains these commits.

API Changes

  • Make PathParser public. The class can create a Path instance from SVG path strings. ( Ic7af2 , b/302376846 )
  • Added compat method for Context.createAttributionContext . ( I61dcf , Ibe187 )
  • Marks NotificationCompatSideChannelService as deprecated. ( I18fd9 )
  • New API for differential motion fling. ( I46b0d , Ia9f68 )
  • Additional compat APIs for VelocityTracker to track platform SDK. ( I32753 )

Bug Fixes

  • Override equals and hashCode methods in Person . ( I610a5 )

Core and Core-ktx Version 1.12

نسخه 1.12.0

6 سپتامبر 2023

androidx.core:core:1.12.0 , androidx.core:core-ktx:1.12.0 , and androidx.core:core-testing:1.12.0 are released. Version 1.12.0 contains these commits.

Important changes since 1.11.0

  • Many compat methods added for SDK 34 parity with TextView, AccessibilityNodeInfo, etc.
  • New LocalePreferences APIs to help developers to easily access locale data or user's locale preferences.
  • Deprecated app.BundleCompat in favor of os.BundleCompat .
  • Deprecated BuildCompat.isAtLeastU() . Use SDK_INT >= 34 instead.

Version 1.12.0-rc01

9 آگوست 2023

androidx.core:core:1.12.0-rc01 , androidx.core:core-ktx:1.12.0-rc01 , and androidx.core:core-testing:1.12.0-rc01 are released with no major changes. Version 1.12.0-rc01 contains these commits.

Version 1.12.0-beta01

26 جولای 2023

androidx.core:core:1.12.0-beta01 , androidx.core:core-ktx:1.12.0-beta01 , and androidx.core:core-testing:1.12.0-beta01 are released. Version 1.12.0-beta01 contains these commits.

API Changes

  • Added setLineHeight(unit, lineHeight) to TextView compat classes ( Ia9fa9 )
  • Added TypedValueCompat.getUnitFromComplexDimension() from Android 14 ( I958e8 )
  • Added setLineHeight(unit, lineHeight) to TextView compat classes ( Ib2ee1 )
  • Backport miscellaneous Accessibility APIs ( Ic65ba )
  • Backport API 34 AccessibilityNodeInfo methods ( I44182 )
  • Graduate stable SDK checks out of experimental ( Ia9b35 )
  • Backport AccessiiblityWindowInfo 34 APIs ( I96a5d )
  • Deprecated BuildCompat.isAtLeastU() . Use SDK_INT >= 34 instead. ( I4f8e7 , b/289269026 )
  • Removed usages of experimental isAtLeastU() API ( Ie9117 , b/289269026 )
  • Migrated BuildCompat to Kotlin for enhanced Deprecated tag ( I56775 , b/289269026 )
  • Added setLineHeight(unit, lineHeight) to TextView compat classes ( I15716 )
  • New accessibilityDataSensitive compat property. ( I0c6e0 )
  • PendingIntentCompat.getActivity and getService may return null when FLAG_NO_CREATE is specified. ( Iffdf0 , b/289696515 )
  • Updated API files to annotate compatibility suppression ( I8e87a , b/287516207 )
  • Added PendingIntentCompat.send() ( Iaf707 )
  • Adds compat versions of Location.removeVerticalAccuracy() , Location.removeSpeedAccuracy() , and Location.removeBearingAccuracy() . ( I5b640 )

Bug Fixes

  • 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.

Bug Fixes

  • 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 to NotifManagerCompat (aosp/516143e05f824ff49bde3c0c97344a2924867d30)
  • Deprecated app.BundleCompat in favor of os.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)

Bug Fixes

  • 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 Changes

  • 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.

Bug Fixes

  • 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 Changes

  • Add ViewCompat support to method performHapticFeedback ( 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 )

Bug Fixes

  • Clarify CollectionInfoCompat docs, especially isHierarchical ( 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 Changes

  • Added LinkMovementMethodCompat that fixes link touch handling ( Ia632c )
  • PendingIntent.getBroadcast() is now correctly marked @Nullable ( Ifff96 , b/277630907 )

Bug Fixes

  • 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 the WindowInsetsController APIs on some API levels, and is the extraction of the backing implementation for WindowInsetsControllerCompat.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 Changes

  • 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 Changes

  • Adds getCurrentInterruptionFilter to NotifManagerCompat ( I8ec95 , b/243183646 )
  • Deprecate app.BundleCompat in favor of os.BundleCompat ( Idc3a2 , b/274577000 )
  • Add TestConsumer so developers can record values in a test. ( I937c1 )

Bug Fixes

  • 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 Changes

  • In Android U, the ContentProvider API of getType requires that the caller hold the correct read permission. FileProvider now provides a default getTypeAnonymous 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

نسخه 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.

External Contribution

  • Fix BadParcelableException being thrown for result being null b/277434277 , b/278118318 contributed by Mygod Studio

نسخه 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 Changes

  • The AccessibilityNodeInfoCompat APIs of set/getMinMillisBetweteenContentChanges have been renamed to set/getMinDurationBetweenContentChanges and now take a long for their duration. ( f46689 )
  • Added NotificationCompat.bigLargeIcon(Icon) ( I60855 )

Bug Fixes

  • 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 and CoordinatorLayout ( bdd72e )

Version 1.10.0-alpha02

January 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 Changes

  • Added BuildCompat constant for AD_SERVICES extension version ( I51d98 )
  • Add BEHAVIOR_DEFAULT to WindowInsetsControllerCompat . BEHAVIOR_SHOW_BARS_BY_SWIPE and BEHAVIOR_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 Changes

  • Adds CallStyle to NotificationCompat ( 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 )

Bug Fixes

  • 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 using Icon ( Ice26d )
  • Added @RequiresPermission to APIs that require granting the POST_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.

Bug Fixes

  • 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 Changes

Bug Fixes

  • Added @RequiresPermission to APIs that require granting the POST_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 platform Typeface.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 )

External Contribution

  • 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 Changes

  • 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.

Bug Fixes

  • Revert deprecation of BuildCompat.isAtLeastT() and accompanying SDK_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

نسخه 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, including onPrepareMenu and onMenuClosed
  • Fixed issue where FileProvider would fail with IllegalArgumentException 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.

Bug Fixes

  • Cast OnSharedElementsReadyListener to fully-qualified platform class to prevent ClassCastException ( 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 Changes

  • 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.

Bug Fixes

  • TypefaceCompat will now respect both requested and loaded style information on API 29+. This is a behavior change when the loaded fonts are not FontWeight.Normal or FontWeight.Bold , as the actual loaded weight and style will be used. ( #212 , b/194553426 )

External Contribution

  • Thanks RikkaW for ensuring we correctly apply Typeface weight in TypefaceCompat on API 29+. #212

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 Changes

  • The MenuProvider interface now includes the onPrepareMenu() callback, which is called when a menu is dynamically modified and should be shown. ( Ie85f9 )
  • The MenuProvider interface now includes the onMenuClosed() 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 in Icon#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. Deprecated ViewCompat.getWindowInsetsController in favor of WindowCompat.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 )

Bug Fixes

  • 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 Changes

  • 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 to AccessibilityNodeInfoCompat ( 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 Changes

  • Adds the OnPictureInPictureModeChangedProvider interface to allow any component to receive picture-in-picture mode change events. This is implemented by ComponentActivity in Activity 1.5.0-alpha02 . ( I9f567 )
  • Adds the OnMultiWindowModeChangedProvider interface to allow any component to receive multi-window mode change events. This is implemented by ComponentActivity in Activity 1.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 Changes

  • Converted WindowInsetsControllerCompat to depend on a View instead of a Window or the platform WindowInsetsController . 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 , and onTrimMemoryProvider 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 Changes

  • 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 )

Bug Fixes

  • Adjusts the scroll distance for accessibility action ( If74ae )
  • Removed hardcoded language code in Javadocs ( Ie5d68 )

Core and Core-ktx Version 1.7

Version 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.

Bug Fixes

  • MenuHostHelper will now properly remove all LifecycleObservers when a MenuProvider is removed prior to the Lifecycle being DESTROYED . ( 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 Changes

  • 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 Changes

  • Added MenuHost interface for components that manage MenuProvider s. ( I83f23 )
  • Added MenuProvider interface that can be used to indicate that a component is supplying menu items. ( If8a40 )
  • Added MenuHostHelper to simplify implementing MenuHost 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 from PermissionChecker 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 and LocationManager.hasProvider() for platform parity. ( I4f3e4 )

Bug Fixes

  • Removed the use of lambdas in PackageManagerCompat to avoid LambdaDesugaring 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 Changes

  • Added an API to configure an InputConnection to use View.performReceiveContent to handle IME calls to InputConnection.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.

Bug Fixes

  • Move to 21 as the default minSdkVersion of androidx libraries. ( I6ec7f )

Version 1.1.0-beta02

April 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

February 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.

Bug Fixes

  • 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.

Bug Fixes

  • 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.

Version 1.0.0-alpha03

23 فوریه 2022

androidx.core:core-remoteviews:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits.

Bug Fixes

  • Fix for infrastructure.

Version 1.0.0-alpha02

26 ژانویه 2022

androidx.core:core-remoteviews:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.

Version 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

January 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.

Bug Fixes

  • Fixed a crash when initializing PlayServicesDevicePerformance found in version 1.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 Changes

  • 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 Changes

  • 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 Changes

  • Initial beta release of DevicePerformance specific API.

Version 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 Changes

  • Add optional module providing media performance class from Google Play Services.
  • core-performance constructors changed to support optional implementation.

Version 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

Version 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-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 .

Bug Fixes

  • Add isLightTheme attribute to themes of SplashScreen ( 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. برای جزئیات بیشتر به این مقاله مراجعه کنید. ( Ieb9ae , b/345472586 )

Version 1.2.0-alpha01

April 17, 2024

androidx.core:core-splashscreen:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits .

Bug Fixes

  • 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 as PhoneWindow , so it's unnecessary to inherit the value from API 29. Also remove the override action from applyAppSystemUiTheme , since enforceNavigationBarContrast 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 .

Bug Fixes

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.

Bug Fixes

  • 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.

Bug Fixes

  • Fixed a NullPointerException when SplashScreenView#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.

Bug Fixes

  • 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.

Bug Fixes

  • Fixed Lateinit property platformView has not been initialized ( b/214835299 )

External Contribution

  • 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 the OnExitAnimationListener ( #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.

Bug Fixes

  • 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

Version 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 call activity.setTheme() before onCreate() to set your app theme after the splash screen is shown.
  • Backward support of the windowSplashScreenIconBackgroundColor attribute: using Theme.SplashScreen.IconBackground and windowSplashScreenIconBackgroundColor , 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 Changes

رفع اشکال

  • Make postSplashScreenTheme optional ( I8c4bf )

Version 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 Changes

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 new com.google.android.gms:play-services-appindex library. This version of the library is not compatible with com.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 new com.google.android.gms:play-services-appindex library. Note that this version of the library is not compatible with com.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. هیچ ویژگی جدیدی وجود ندارد.

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. هیچ ویژگی جدیدی وجود ندارد.

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 to com.google.android.gms:play-services-appindex . Developers who use this new version should not externally depend on com.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

نسخه 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 Changes

  • 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.

Bug Fixes

  • Update BuildCompat to use current long press timeout on latest platforms ( b/185118174 )
  • Remove use of synchronized from ContextCompat , 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 Changes

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 )

Bug Fixes

  • 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 and SubscriptionManagerCompat ( I5568d )
  • Remove deprecated addCapabilityBinding method from ShortcutInfoCompat ( Ie8f70 )
  • Add addCapabilityBinding with parameters and addCapabilityBinding without parameters setters to ShortcutInfoCompat.Builder , deprecated old addCapabilityBinding ( I90686 )
  • Add LocationCompat class and LocationManagerCompat.getCurrentLocation() ( I78d9a )
  • Deprecated ModeCompat.isNative which is replaced by DisplayCompat.getMode . ( I9a6a2 )
  • Added ContextCompat.getAttributionTag() and UserHandleCompat.getUserHandleForUid() ( Iea486 )

External Contribution

  • Backport tintable background and check mark for CheckedTextView ( I8575c )

Version 1.6.0-alpha01

March 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 Changes

  • 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.

Bug Fixes

  • 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.

Bug Fixes

  • 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.

Version 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.

Bug Fixes

  • No longer automatically report shortcut usage when a shortcut is added / updated. Instead usage reporting will be moved to ShortcutManagerCompat#pushDynamicShortcut .

Version 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 with androidx.core ; you can start using ShortcutManagerCompat 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 Changes

  • Added ShortcutInfoChangeListenerImpl , to be used by ShortcutManagerCompat to donate shortcuts to Firebase App Index.

Core and Core-ktx Version 1.5.0

نسخه 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 and WindowInsetsCompat 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.

Bug Fixes

Version 1.5.0-rc01

March 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

March 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 Changes

  • 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.

Bug Fixes

  • Deprecated ModeCompat.isNative which is replaced by DisplayCompat.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 Changes

  • 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() from OnReceiveContentListener ; now MIME types are passed as an additional arg on the ViewCompat 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 to view.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 )

Bug Fixes

  • Fix a bug where setting BigPictureStyle.bigLargeIcon would break the BigPictureStyle for that notification on newer OS versions. ( Ic623d )

External Contribution

  • 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 Changes

  • 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 to getCachedFont ( 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 Changes

  • Fix incomplete Style recovery when using NotificationCompat.Builder.<init>(Context,Notification) ( Ib297a )
  • New notification categories types are now available ( I9521a )

Bug Fixes

  • 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 Changes

  • 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 )

Bug Fixes

  • For pre-P, ensure panes are marked as important for accessibility and support CONTENT_CHANGE_TYPE_PANE_DISAPPEARED events. ( Iaeffc )

External Contribution

  • API lint check for the StaticFinalBuilder is enabled for androidx ( I2b11b , b/138602561 )

Version 1.5.0-alpha02

August 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 new ime() 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 the adjustResize window soft input mode . If you're instead using the adjustPan mode, it should work reliably back to API 14.

API Changes

  • Added ObjectsCompat#toString(Object, String) . This offers the behavior of Objects#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 and NotificationCompat.MessagingStyle.addHistoricMessage ( I62bb6 )
  • Update Notification documentation ( I1293f )
  • Fix nullability of NotificationCompat.Builder ( I932e3 )
  • Added NotificationChannelCompat and NotificationChannelGroupCompat ( Icc3b6 )
  • Add addExtraDataToAccessibilityNodeInfo to AccessibilityNodeProviderCompat ( I26575 )
  • Update WindowInsetsCompat to Android 11 APIs ( I3df9e )

External Contribution

  • Add Uri overloads for MailTo 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 , and Notification classes

Bug Fixes

  • 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 Changes

  • 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 )

Bug Fixes

  • Added permissions validation for ActivityCompat.requestPermissions() ( I372cc , b/122163323 )
  • Extracted v28+ calls into a separate static class, which fixes a NoClassDefFoundError error for View#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.

Bug Fixes

  • 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

نسخه 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.

Bug Fixes

  • WindowInsetsCompat now properly implements hashCode() and equals() 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 Changes

  • 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 in NotificationCompat
  • 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 and InputConnectionCompat

Version 1.2.0-rc01

November 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 Changes

  • 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 to NotificationCompat ( b/138601213 )

Bug Fixes

  • Fixed an issue with the handling of unicode digits in address detection. ( aosp/1129852 )

External Contribution

  • 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 in ShortcutInfo.Builder in Android framework.
  • Added ShortcutInfoCompat.Builder#setRank() and ShortcutInfoCompat#getRank() to match the ShortcutInfo in Android framework.

رفع اشکال

Version 1.2.0-alpha03

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 , and isEnabled to TraceCompat ( aosp/987332 )
  • Unhid APIs in WindowInsetsCompat and ViewDragHelper ( aosp/979408 )

رفع اشکال

  • Fixed bug with NestedScrollView scrolling in response to a11y scroll calls. ( aosp/971000 )
  • Switched to using SimpleArrayMap in ViewCompat 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 and InputConnectionCompat

نسخه 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 and NestedScrollingParent3 .
  • This library no longer exposes the androidx.collection dependency as part of its API. If you were depending on the androidx.collection types implicitly through a dependency on Core, you will need to add an explicit androidx.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

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 implement LifecycleOwner to maintain binary compatibility with androidx.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 check PackageManager ( 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 to NotificationCompat ( 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 only NotificationManagerCompat 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() , and setContextClickable() . Added AccessibilityAction s instead.
  • Added ViewCompat.setAccessibilityPaneTitle() , getAccessibilityPaneTitle() , setScreenReaderFocusable() , isScreenReaderFocusable() , setAccessibilityHeading() , and isAccessibilityHeading() , to backport this View accessibility functionality through API 19.
  • Added ViewCompat.enableAccessibleClickableSpanSupport() to allow developers to make non-URL ClickableSpan 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. See AnimatorTestRule 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

August 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.

Bug Fixes

  • 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

November 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

7 نوامبر 2018

Bugfix release of core-1.0.1 and appcompat-1.0.2 .

رفع اشکال

  • Fixed bug where PrecomputedTextCompat would crash when used with RTL AppCompatTextView . 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.