Основной
androidx.core.animation
androidx.core.app
androidx.core.content
androidx.core.role
androidx.core.view
( См. справочную документацию для получения информации обо всех основных пакетах )
В этой таблице перечислены все артефакты, входящие в группу androidx.core .
| Артефакт | Стабильный релиз | Предварительная версия релиза | Бета-версия | Альфа-версия |
|---|---|---|---|---|
| основной | 1.17.0 | - | - | - |
| основная анимация | 1.0.0 | - | - | - |
| core-google-shortcuts | 1.1.0 | - | - | 1.2.0-alpha01 |
| основные показатели производительности | 1.0.0 | - | - | - |
| core-remoteviews | 1.1.0 | - | - | - |
| основная роль | 1.1.0 | - | - | - |
| основной заставочный экран | 1.2.0 | - | - | - |
Объявление зависимостей
Чтобы добавить зависимость от Core, необходимо добавить репозиторий Google Maven в ваш проект. Для получения дополнительной информации ознакомьтесь с информацией в репозитории Google Maven .
Добавьте зависимости для необходимых артефактов в файл build.gradle вашего приложения или модуля:
Круто
dependencies { def core_version = "1.17.0" // Java language implementation implementation "androidx.core:core:$core_version" // Kotlin implementation "androidx.core:core-ktx:$core_version" // To use RoleManagerCompat implementation "androidx.core:core-role:1.1.0" // To use the Animator APIs implementation "androidx.core:core-animation:1.0.0" // To test the Animator APIs androidTestImplementation "androidx.core:core-animation-testing:1.0.0" // Optional - To enable APIs that query the performance characteristics of GMS devices. implementation "androidx.core:core-performance:1.0.0" // Optional - to use ShortcutManagerCompat to donate shortcuts to be used by Google implementation "androidx.core:core-google-shortcuts:1.1.0" // Optional - to support backwards compatibility of RemoteViews implementation "androidx.core:core-remoteviews:1.1.0" // Optional - APIs for SplashScreen, including compatibility helpers on devices prior Android 12 implementation "androidx.core:core-splashscreen:1.2.0" }
Котлин
dependencies { val core_version = "1.17.0" // Java language implementation implementation("androidx.core:core:$core_version") // Kotlin implementation("androidx.core:core-ktx:$core_version") // To use RoleManagerCompat implementation("androidx.core:core-role:1.1.0") // To use the Animator APIs implementation("androidx.core:core-animation:1.0.0") // To test the Animator APIs androidTestImplementation("androidx.core:core-animation-testing:1.0.0") // Optional - To enable APIs that query the performance characteristics of GMS devices. implementation("androidx.core:core-performance:1.0.0") // Optional - to use ShortcutManagerCompat to donate shortcuts to be used by Google implementation("androidx.core:core-google-shortcuts:1.1.0") // Optional - to support backwards compatibility of RemoteViews implementation("androidx.core:core-remoteviews:1.1.0") // Optional - APIs for SplashScreen, including compatibility helpers on devices prior Android 12 implementation("androidx.core:core-splashscreen:1.2.0") }
Для получения дополнительной информации о зависимостях см. раздел «Добавление зависимостей сборки» .
Обратная связь
Ваши отзывы помогают улучшить Jetpack. Сообщите нам, если вы обнаружите новые проблемы или у вас есть идеи по улучшению этой библиотеки. Пожалуйста, ознакомьтесь с существующими проблемами в этой библиотеке, прежде чем создавать новую. Вы можете проголосовать за существующую проблему, нажав кнопку со звездочкой.
Для получения более подробной информации см. документацию по системе отслеживания ошибок .
Core-Backported-Fixes Version 1.0
Версия 1.0.0
17 декабря 2025 г.
Выпущена версия androidx.core:core-backported-fixes:1.0.0 . Версия 1.0.0 содержит следующие коммиты .
Версия 1.0.0-rc01
3 декабря 2025 г.
Выпущена androidx.core:core-backported-fixes:1.0.0-rc01 . Версия 1.0.0-rc01 содержит следующие коммиты .
Исправлены ошибки
- Исправьте ссылки на код в документации для KI_452390376 ( I9a554 , b/454020407 ).
Версия 1.0.0-beta02
5 ноября 2025 г.
Выпущена версия androidx.core:core-backported-fixes:1.0.0-beta02 . Версия 1.0.0-beta02 содержит следующие коммиты .
Изменения в API
- Добавлена известная проблема b/452390376 ( Автоматический режим экспозиции с усилением при слабом освещении (LLB) ) не может быть включен для потокового использования, например, VIDEO_CALL на устройствах Pixel 10. ( Iba480 , b/452390376 )
Исправлены ошибки
- Отметьте конкретные сборки пикселей как исправленные. ( I4c751 , b/398591036 )
- Добавлена поддержка указания списка вручную протестированных отпечатков сборки для KnownIssue. ( Iea9f9 , b/453691379 )
Версия 1.0.0-beta01
24 сентября 2025 г.
Выпущена версия androidx.core:core-backported-fixes:1.0.0-beta01 . Версия 1.0.0-beta01 содержит следующие коммиты .
Версия 1.0.0-alpha01
13 августа 2025 г.
Выпущена версия androidx.core:core-backported-fixes:1.0.0-alpha01 . Версия 1.0.0-alpha01 содержит следующие коммиты .
Новые функции
Библиотека Core Backported Fixes позволяет проверить, было ли применено критическое исправление ошибки к устройству. Это полезно, поскольку распространение исправлений на все устройства может занять много времени, и этот API предоставляет способ узнать, когда безопасно использовать функции, зависящие от исправления.
val fixManager = BackportedFixManager() if (fixManager.isFixed(KnownIssues.KI_1234)) { Offer_experience_that_needs_fix() } else { Offer_experience_that_avoids_the_bug() }
В этот релиз входит
-
KnownIssues.KI_398591036: Ненормальный цветовой тон при захвате изображенийJPEG-Rна некоторых устройствах Pixel. Исправление: используйте выходные файлыJPEGдо устранения этой ошибки.
Core-Viewtree Версия 1.0
Версия 1.0.0
26 февраля 2025 г.
androidx.core:core-viewtree:1.0.0 получила статус первого стабильного релиза без изменений по сравнению с предыдущей версией RC.
Эта библиотека вводит концепцию наличия у представления непересекающегося родительского объекта. Непересекающийся родительский объект представления — это отдельный объект View , который выступает в качестве родителя представления, но не задаётся через свойство View.parent . Примерами представлений с непересекающимися родительскими объектами являются ViewOverlays , всплывающие окна и диалоговые окна, которые отображаются вне основной иерархии представлений. Представление может иметь непересекающийся родительский объект только в том случае, если у него нет прямого родителя через свойство 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. Примерами View с непересекающимися родительскими объектами являютсяViewOverlays, всплывающие окна и диалоговые окна, которые отображаются вне основной иерархии View. View может иметь непересекающийся родительский объект только в том случае, если у него нет прямого родителя через свойствоView.parentплатформы. В настоящее время androidx устанавливает непересекающийся родительский объект только дляViewOverlays, созданных с помощью перехода. Вы также можете указать свои собственные непересекающиеся родительские объекты для View. Дополнительную информацию см. в документации.
Изменения в 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, поскольку интегрирует упомянутое выше форматирование даты/времени. Это учитывает пользовательские настройки, чего не делаетandroid.icu.text.MessageFormat.
Этот компонент станет средством для переноса новых API для интернационализации, добавления новых функций или исправлений для интернационализации, а также в целом упростит процесс интернационализации.
Версия 1.0.0-rc01
26 марта 2025 г.
Выпущена версия androidx.core:core-i18n:1.0.0-rc01 без существенных изменений по сравнению с последней бета-версией. Версия 1.0.0-rc01 содержит следующие коммиты .
Версия 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, поскольку интегрирует упомянутое выше форматирование даты/времени. Это учитывает пользовательские настройки, чего не делаетandroid.icu.text.MessageFormat. - Этот компонент станет средством для переноса новых API для интернационализации, добавления новых функций или исправлений для интернационализации, а также в целом упростит процесс интернационализации.
Версия 1.0.0-alpha01
26 июля 2023 г.
Выпущена версия androidx.core:core-i18n:1.0.0-alpha01 . Версия 1.0.0-alpha01 содержит следующие коммиты.
Core-location-altitude Версия 1.0.
Версия 1.0.0-beta01
5 ноября 2025 г.
Выпущены androidx.core:core-location-altitude:1.0.0-beta01 , androidx.core:core-location-altitude-external-protobuf:1.0.0-beta01 и androidx.core:core-location-altitude-proto:1.0.0-beta01 без существенных изменений по сравнению с последней альфа-версией. Версия 1.0.0-beta01 содержит следующие коммиты .
Версия 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, рекомендуется обновиться до D8 версии 8.1 или более поздней. Подробнее см. в этой статье . ( 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 содержит следующие коммиты .
Исправлены ошибки
- Исправлена ошибка ProGuard, возникавшая из-за переупаковки библиотек proto.
Внешний вклад
- Исправление ошибки, указанное выше, предоставлено 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 содержит эти коммиты.
Новые функции
- Добавлен класс
AltitudeConverterCompatс единственным статическим методомaddMslAltitudeToLocation(Context, Location)( I11168 ).
Core-telecom Версия 1.1
Версия 1.1.0-alpha01
8 октября 2025 года
Выпущена версия androidx.core:core-telecom:1.1.0-alpha01 . Версия 1.1.0-alpha01 содержит следующие коммиты .
Новые функции
- Добавлена возможность для приложений запрашивать, чтобы конкретный звонок не сохранялся в системном журнале вызовов, даже если приложение в целом включило запись звонков. Эта функция эффективна только на устройствах, работающих под управлением
Build.VERSION.SDK_INT_FULL >= Build.VERSION_CODES_FULL.BAKLAVA_1.
Изменения в API
- В класс данных
CallAttributesCompatдобавлено необязательное логическое свойствоisLogExcluded. Установка этого свойства в значение true заставляет систему исключить вызов из журнала вызовов. На более старых версиях платформы это свойство не оказывает никакого эффекта. Обратите внимание, что VoIP-вызовы по умолчанию не записываются в системный журнал вызовов. Разработчики должны сначала явно включить участие своего приложения в системном журнале вызовов. Для этого необходимо объявить обработчик намерения дляandroid.telecom.action.CALL_BACKв манифесте приложения. Новое свойствоisLogExcludedпредоставляет возможность исключения каждого вызова для приложений, которые уже включили эту интеграцию. ( d14695 )
Core-telecom Версия 1.0.
Версия 1.0.1
27 августа 2025 г.
Выпущена версия androidx.core:core-telecom:1.0.1 . Версия 1.0.1 — это релиз с исправлениями ошибок, включающий следующие улучшения, которые можно найти в этих коммитах .
Исправлены ошибки
- Маршрутизация аудиосигнала и обработка конечных точек
- Исправлена ошибка, из-за которой выбранная пользователем точка подключения аудио до начала звонка (например, наушник) некорректно переключалась на громкую связь при начале видеозвонка. Теперь библиотека гарантирует сохранение предпочтительного аудиоканала пользователя. ( 8fa4ba7 , 71d7be8 )
- Улучшена логика переключения звука, чтобы предотвратить автоматическое переключение звонков с Bluetooth-гарнитуры на громкую связь, особенно когда Bluetooth-устройству требуется некоторое время для подключения. Для этой проверки требуется разрешение BLUETOOTH_CONNECT, чтобы различать типы устройств. ( de83f3e )
- Оптимизирована функция автоматического выбора говорящего для видеозвонков для пользователей без устройств Bluetooth. Теперь библиотека выполняет менее навязчивую проверку наличия устройств Bluetooth перед запросом разрешения BLUETOOTH_CONNECT, что улучшает взаимодействие с пользователями без Bluetooth. ( 721f4e2 )
- Исправлены ошибки, повышающие стабильность и предотвращающие сбои.
- Исправлены ошибки
NullPointerException, которые могли возникать во время обработки аудиоданных. Библиотека теперь корректно обрабатывает несогласованное управление состоянием вPreCallEndpointsUpdaterи фильтрует нулевые элементы из массиваAudioDeviceInfoсистемы для повышения стабильности. ( 23dd075 , 03eb616 )
- Исправлены ошибки
Версия 1.0.0
7 мая 2025 г.
Выпущена версия androidx.core:core-telecom:1.0.0 . Версия 1.0.0 содержит следующие коммиты .
Основные особенности версии 1.0.0
- Первый стабильный релиз API ядра телекоммуникационной инфраструктуры, ориентированный на API
CallsManagerдля интеграции VoIP-звонков в платформу Android.
Версия 1.0.0-rc01
9 апреля 2025 г.
Выпущена версия androidx.core:core-telecom:1.0.0-rc01 . Версия 1.0.0-rc01 содержит следующие коммиты .
Новые функции
Новые экспериментальные расширения для вызовов API. В этом релизе добавлены следующие экспериментальные расширения:
- Поддержка удаленного расширения для отображения сводки совещания, позволяющего удаленному устройству получать сводную информацию о совещании (текущее количество выступающих и участников) из подключенного VoIP-приложения. ( 7cf095f )
- Поддержка расширения значка вызова, позволяющего VoIP-приложению отправлять 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 )
- Добавлен новый API
CallsManager:getAvailableStartingCallEndpoints( Ia8bcf ) - Обновите аннотацию
ExperimentalAppActions, чтобы обеспечить точное отслеживание всех случаев использования экспериментальной функции. ( Id5ea5 )
Исправлены ошибки
- Добавлен глобальный приемник состояния отключения звука для уровней API Android с 28 по 33. ( I75e66 )
- Исправлена ошибка, из-за которой только последний подключенный
InCallServiceмог отправлять события действий ( I39599 ). - Реализует API расширений ICS для действий в VoIP-приложениях. ( I1274c )
- Теперь при отклонении вызова до уровня API 34 вызов будет корректно завершаться в Telecom. ( I635b7 )
- Теперь
addCallкорректно генерирует исключения через API, а не через родительскую сопрограмму ( I83334 ). - Добавить значение-заполнитель в пакет дополнительных материалов ( Iebf7f )
- Удалено ручное описание доступа к новым API платформы, поскольку это происходит автоматически посредством моделирования API при использовании R8 с AGP 7.3 или более поздней версии (например, R8 версии 3.3) и для всех сборок при использовании AGP 8.1 или более поздней версии (например, D8 версии 8.1). Клиентам, не использующим AGP, рекомендуется обновиться до D8 версии 8.1 или более поздней. Подробнее см. в этой статье . ( 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 содержит следующие коммиты .
Исправлены ошибки
- Внесены изменения в код
JetpackConnectionServiceдля исправления проблемы, возникающей в SDK 33 и более ранних версиях, когда передаваемый адрес пуст. ПереработанныйJetpackConnectionServiceтакже устойчив к неожиданным значениям NULL в API телекоммуникационных платформ. - Улучшения в документации API
addCall/CallControlScope. - Повышение надежности тестирования.
Версия 1.0.0-alpha02
4 октября 2023 г.
Выпущена версия androidx.core:core-telecom:1.0.0-alpha02 . Версия 1.0.0-alpha02 содержит следующие коммиты.
Изменения в API
- Были переработаны сигнатуры API для методов, возвращавших логическое значение, указывающее на успех/неудачу, вместо этого теперь возвращается класс результата, который четко указывает, почему операция прошла успешно или не удалась.
- Переместил методы
CallControlCallbackв качестве аргументов лямбда-функций вaddCall, чтобы исключить необходимость явного указания функции обратного вызова в области видимости вызова.
Исправлены ошибки
- Исправлена ошибка в слое совместимости
ConnectionService, из-за которой при использовании SDK версий ниже U отсутствовал звук в телефонном разговоре. - Улучшить документацию API.
Версия 1.0.0-alpha01
10 мая 2023 г.
Выпущена версия androidx.core:core-telecom:1.0.0-alpha01 . Эта версия разрабатывается во внутренней ветке и должна использоваться с Android 14 Beta 2.
Новые функции
Представляет API
CallsManager, который VoIP-приложения могут использовать для интеграции с телекоммуникационной платформой на устройстве. Вызовы, поступающие на платформу, получают приоритет выполнения в фоновом режиме, отображаются на устройствах Bluetooth, носимых и автомобильных устройствах, а также упрощают маршрутизацию звука.API
CallsManagerпредставляет собой обертку над устаревшим APIConnectionServiceдля устройств, работающих под управлением более старых версий Android.
Core и Core-ktx версии 1.17
Версия 1.17.0
13 августа 2025 г.
Выпущены androidx.core:core:1.17.0 , androidx.core:core-ktx:1.17.0 и androidx.core:core-testing:1.17.0 . Версия 1.17.0 содержит следующие коммиты .
Важные изменения с версии 1.16.0
- Основная библиотека обновлена для поддержки языка Kotlin 2.0 и требует использования плагина Kotlin Gradle версии 2.0.0 или новее.
Версия 1.17.0-rc01
30 июля 2025 г.
Выпущены androidx.core:core:1.17.0-rc01 , androidx.core:core-ktx:1.17.0-rc01 и androidx.core:core-testing:1.17.0-rc01 . Версия 1.17.0-rc01 не содержит изменений по сравнению с предыдущим бета-релизом.
Версия 1.17.0-beta01
2 июля 2025 г.
Выпущены androidx.core:core:1.17.0-beta01 , androidx.core:core-ktx:1.17.0-beta01 и androidx.core:core-testing:1.17.0-beta01 . Версия 1.17.0-beta01 не содержит изменений по сравнению с предыдущей альфа-версией.
Версия 1.17.0-alpha01
18 июня 2025 г.
Выпущены androidx.core:core:1.17.0-alpha01 , androidx.core:core-ktx:1.17.0-alpha01 и androidx.core:core-testing:1.17.0-alpha01 . Версия 1.17.0-alpha01 содержит следующие коммиты .
Новые функции
- Основная библиотека обновлена для поддержки языка Kotlin 2.0 и требует использования плагина Kotlin Gradle версии 2.0.0 или новее. ( Idb6b5 )
Изменения в API
Добавлены
NotificationCompat.ProgressStyleиNotificationCompat.Builder.setRequestPromotedOngoing(). Подробнее см. в разделах «Уведомления, ориентированные на прогресс» и «Обновления в реальном времени» .Добавлена функция расширения
Parcel.useдля безопасной обработки ресурсовParcel. ( I436da )
Core и Core-ktx версии 1.16
Версия 1.16.0
9 апреля 2025 г.
Выпущены androidx.core:core:1.16.0 , androidx.core:core-ktx:1.16.0 и androidx.core:core-testing:1.16.0 . Версия 1.16.0 содержит следующие коммиты .
Важные изменения с версии 1.15.0
- В этой библиотеке теперь используются аннотации JSpecify, определяющие наличие нулевого значения , которые относятся к использованию типов. Разработчикам Kotlin следует использовать следующий аргумент компилятора для обеспечения корректного использования:
-Xjspecify-annotations=strict(это значение по умолчанию, начиная с версии 2.1.0 компилятора Kotlin). ( Iaf3e1 , b/326456246 )
Версия 1.16.0-rc01
26 марта 2025 г.
Выпущены androidx.core:core:1.16.0-rc01 , androidx.core:core-ktx:1.16.0-rc01 и androidx.core:core-testing:1.16.0-rc01 . Версия 1.16.0-rc01 не содержит изменений по сравнению с предыдущим бета-релизом.
Версия 1.16.0-beta01
12 марта 2025 г.
Выпущены androidx.core:core:1.16.0-beta01 , androidx.core:core-ktx:1.16.0-beta01 и androidx.core:core-testing:1.16.0-beta01 . Версия 1.16.0-beta01 содержит следующие коммиты .
Изменения в API
- Уточнение API защиты вставок ( I7050d )
- Добавляет новый ключ для получения границ символов в координатах окна без увеличения. ( If7a06 )
- Добавлено новое логическое свойство, указывающее, является ли поле
AccesibilityNodeInfoобязательным. ( I4fd2d ) - Перенос функции
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 содержит следующие коммиты .
Изменения в API
- Добавьте
BuildCompat.isAtLeastBдля проверки доступности API, добавленного в Baklava ( 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, версия Android-OutcomeReceiverдоступная на всех уровнях API. ( Ib8265 , b/380060342 ) - Добавлен класс совместимости для
android.view.ScrollFeedbackProvider. ( Icaa92 ) - Добавлена
ViewCompat.addViewOverlay(View)в качестве альтернативыView.getOverlay().add(View). ВариантViewCompatисправляет проблему, из-за которой владельцы, такие какLifecycleOwnerиViewModelStoreOwnerне могли быть определены между перекрываемым представлением и владельцем перекрываемого представления. ( I81413 ) - Вводится понятие возможности наличия
Viewнепересекающегося родительского элемента. Непересекающийся родительский элемент представления — это другое представление, которое фактически является родительским элементом другого представления, но не задается с помощью свойстваView.parent. См. документацию для получения дополнительной информации. ( Ib2950 ) - Добавлен новый API
ViewGroupCompat#installCompatInsetsDispatchдля разработчиков, позволяющий исправить проблему с отправкой вставок, существовавшую до API 30. ( I11159 ) - Добавлено целочисленное значение
FontsContractCompat.TypefaceStyleдля аннотирования стилей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, рекомендуется обновиться до D8 версии 8.1 или более поздней. Подробнее см. в этой статье . ( Ieb9ae , b/345472586 )
- Внесены различные обновления в классы совместимости для обеспечения паритета с SDK Android 15.
Версия 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. ( Ibaf34 )
Исправлены ошибки
- Исправлены ошибки в документации в
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 содержит следующие коммиты .
Важные изменения
- Удалено ручное описание доступа к новым API платформы, поскольку это происходит автоматически посредством моделирования API при использовании R8 с AGP 7.3 или более поздней версии (например, R8 версии 3.3) и для всех сборок при использовании AGP 8.1 или более поздней версии (например, D8 версии 8.1). Клиентам, не использующим AGP, рекомендуется обновиться до D8 версии 8.1 или более поздней. Подробнее см. в этой статье . ( Ieb9ae , b/345472586 )
Изменения в API
- Добавлен XML-атрибут
fallbackQueryк загружаемым определениям шрифтов, позволяющий использовать резервный вариант на уровне символов при загрузке шрифтов. ( 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 . Эта версия разрабатывается во внутренней ветке и совместима с Android 15 Beta 3 ( android-35 ).
Изменения в API
- Внесены различные обновления в классы совместимости для обеспечения паритета с SDK Android 15.
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 содержит следующие коммиты .
Новые функции
- Установите значение 21 в качестве значения
minSdkVersionпо умолчанию для библиотек androidx ( I6ec7f ).
Изменения в API
- Дополнительные устаревшие методы совместимости следует считать устаревшими. ( IE4470 , b/313834577 )
- Устаревшие методы совместимости. ( I01d90 , b/313834577 )
-
isAtLeastV()обновлена и теперь возвращает true для финальной версии SDK V. ( 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 содержит следующие коммиты .
Исправлены ошибки
- Исправлена ошибка, из-за которой при отображении панели инструментов рукописного ввода касание пальцем не переключалось на обычную клавиатуру ( 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 содержит следующие коммиты .
Важные изменения с версии 1.12.0
-
minSdkVersionбиблиотеки повышена до19Многие API совместимости помечены как устаревшие, поскольку они были необходимы только до уровня API 19. - Некоторые классы были переписаны на Kotlin для обеспечения лучшей совместимости с потребителями Kotlin, сохраняя при этом совместимость с Java.
- Удалён
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 содержит следующие коммиты .
Исправлены ошибки
- Исправлена ошибка восстановления исходного внешнего вида системной панели на 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, а неPathParser.PathDataNode. ( I20d62 ) -
FingerprintManagerCompatбыл временно удалён перед его удалением из SDK платформы Android V. В ближайшем будущем его реализация будет заменена на ничего не делающий объект, и разработчикам следует немедленно отказаться от использования этого класса. ( 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 содержит следующие коммиты.
Внешний вклад
- Благодарим Мэтью Завислака за обновление документации
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 содержит следующие коммиты.
Новые функции
- Добавлен API
AlarmManagerCompat.canScheduleExactAlarms( I62e95 , b/315440583 )
Преобразования в Kotlin
- Класс
androidx.core.util.Consumerбыл переписан на Kotlin и теперь требует, чтобы обобщенный типTсоответствовал возможности значения null, которое получает методaccept(). ( IE21E0 ) -
androidx.core.util.Supplierбыл преобразован в Kotlin, что гарантирует соответствие возможности получения значения null для типа, возвращаемого методомget()возможности получения значения null для обобщенного типа. ( I21e9c ) -
androidx.core.util.Functionбыла переписана на Kotlin, что гарантирует соответствие допустимости значений null для входных и выходных данных функции используемым обобщенным типам. ( I09dd7 )
Внешний вклад
- Благодарим Камала Фараджа за добавление API
AlarmManagerCompat.canScheduleExactAlarms( 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 содержит следующие коммиты.
Изменения в 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 содержит следующие коммиты.
Новые функции
- Добавляет интерфейс
OnUserLeaveHintProvider, позволяющий любому компоненту получать событияonUserLeaveHint, необходимые для реализации режима «картинка в картинке». Это реализовано компонентомComponentActivityв Activity1.9.0-alpha01. ( I54892 )
Изменения в API
- Устаревшая функция
androidx.core.os.CancellationSignal. Следует заменить её на предоставляемую платформой функциюandroid.os.CancellationSignal. ( Id45f6 , b/309499026 , b/309054079 ) - Интерфейсы
OnMultiWindowModeChangedProvider,OnNewIntentProvider,OnPictureInPictureModeChangedProvider,OnConfigurationChangedProviderиOnTrimMemoryProviderбыли преобразованы в Kotlin, чтобы гарантировать, что универсальные параметры объектаConsumer, которые принимают их методы-слушатели, имеют правильную возможность присвоения значения null (все они не являются null). ( Ib6237 ) - Классы
MultiWindowModeChangedInfoиPictureInPictureModeChangedInfo, отправляемыеConsumerи добавленные в соответствующие интерфейсы поставщика, теперь написаны на Kotlin. ( IE08E2 )
Обновление зависимостей
- Теперь ядро зависит от Lifecycle
2.6.2( I2d94c ).
Версия 1.13.0-alpha01
18 октября 2023 г.
Выпущены androidx.core:core:1.13.0-alpha01 , androidx.core:core-ktx:1.13.0-alpha01 и androidx.core:core-testing:1.13.0-alpha01 . Версия 1.13.0-alpha01 содержит следующие коммиты.
Изменения в 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 содержит эти коммиты.
Важные изменения с версии 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 содержит следующие коммиты.
Версия 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
- Added
setLineHeight(unit, lineHeight)toTextViewcompat classes ( Ia9fa9 ) - Added
TypedValueCompat.getUnitFromComplexDimension()from Android 14 ( I958e8 ) - Added
setLineHeight(unit, lineHeight)toTextViewcompat classes ( Ib2ee1 ) - Backport miscellaneous Accessibility APIs ( Ic65ba )
- Backport API 34
AccessibilityNodeInfomethods ( I44182 ) - Graduate stable SDK checks out of experimental ( Ia9b35 )
- Backport
AccessiiblityWindowInfo34 APIs ( I96a5d ) - Deprecated
BuildCompat.isAtLeastU(). UseSDK_INT >= 34instead. ( I4f8e7 , b/289269026 ) - Removed usages of experimental
isAtLeastU()API ( Ie9117 , b/289269026 ) - Migrated
BuildCompatto Kotlin for enhanced Deprecated tag ( I56775 , b/289269026 ) - Added
setLineHeight(unit, lineHeight)toTextViewcompat classes ( I15716 ) - New
accessibilityDataSensitivecompat property. ( I0c6e0 ) -
PendingIntentCompat.getActivityandgetServicemay return null whenFLAG_NO_CREATEis 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(), andLocation.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
ColorUtilsclasses 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
getCurrentInterruptionFiltertoNotifManagerCompat(aosp/516143e05f824ff49bde3c0c97344a2924867d30) - Deprecated
app.BundleCompatin favor ofos.BundleCompat(aosp/bf6169fe9ee1113065d0cf380bd2e09f31ce0a40) - Added
TestConsumerso developers can record values in a test. (aosp/f75a4913940e710842168c832a7f57c2dcae4fdf) - Added
TestConsumerso 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
LocalePreferencesto 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
ColorUtilsclasses 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
ViewCompatsupport to methodperformHapticFeedback( Ib02c6 ) - Change
getDisplayto#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
CollectionInfoCompatdocs, especiallyisHierarchical( I14f6c )
Version 1.11.0-alpha04
10 мая 2023 г.
androidx.core:core:1.11.0-alpha04 , androidx.core:core-ktx:1.11.0-alpha04 , and androidx.core:core-testing:1.11.0-alpha04 are released. Version 1.11.0-alpha04 contains these commits.
Изменения в API
- Added
LinkMovementMethodCompatthat 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
SoftwareKeyboardControllerCompatto provide direct methods to show and hide the software keyboard given a View. This backports workarounds for known issues when using theWindowInsetsControllerAPIs on some API levels, and is the extraction of the backing implementation forWindowInsetsControllerCompat.showand 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
BuildCompatin 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
getCurrentInterruptionFiltertoNotifManagerCompat( I8ec95 , b/243183646 ) - Deprecate
app.BundleCompatin favor ofos.BundleCompat( Idc3a2 , b/274577000 ) - Add
TestConsumerso developers can record values in a test. ( I937c1 )
Исправлены ошибки
- Fix a bug where
unregisterGnssMeasurementsCallback()does not work properly below Android R. ( Id1999 )
Версия 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
ContentProviderAPI ofgetTyperequires that the caller hold the correct read permission.FileProvidernow provides a defaultgetTypeAnonymousimplementation, 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.
Внешний вклад
- Fix
BadParcelableExceptionbeing 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
BuildCompatconstants for SDK extension versions. ( I6084c ) - See release notes for pre-release versions of 1.10.0 for new APIs and bug fixes.
Версия 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.
Версия 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
AccessibilityNodeInfoCompatAPIs ofset/getMinMillisBetweteenContentChangeshave been renamed toset/getMinDurationBetweenContentChangesand now take alongfor their duration. ( f46689 ) - Added
NotificationCompat.bigLargeIcon(Icon)( I60855 )
Исправлены ошибки
- Fix docs regarding default value of
NotificationCompat.Builder.setShowWhen()( ba52a2 ) - Fix typo in
AccelerateInterpolator / DecelerateInterpolatordocs ( 2173505 ) - Fix typo in
ShortcutInfoCompatdocs ( 44075f ) - Fix up, down, spacebar and key variation keyboard actions with
NestedScrollViewandCoordinatorLayout( bdd72e )
Версия 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
BuildCompatconstant forAD_SERVICESextension version ( I51d98 ) - Add
BEHAVIOR_DEFAULTtoWindowInsetsControllerCompat.BEHAVIOR_SHOW_BARS_BY_SWIPEandBEHAVIOR_SHOW_BARS_BY_TOUCHare deprecated. ( I17b61 )
Версия 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
CallStyletoNotificationCompat( Id9a53 , b/199294989 ) - Added
BuildCompatconstants 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
ParcelCompatmethod 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_ANNOUNCEMENTwith 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
Версия 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
IntentSanitizerto sanitize unsafe intents before launching them. ( Ib0be5 ) - Adds support for
BigPictureStyleusingIcon( Ice26d ) - Added
@RequiresPermissionto APIs that require granting thePOST_NOTIFICATIONSpermission on SDK 33 and above. ( Ie542e ) - Improved parity between Android 13 accessibility framework APIs and compat APIs ( I93c97 , I5a074 , Iedf82 )
Версия 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.sanitizeByFilteringno longer writes to the log when filtering ( 69b3b55 )
Версия 1.9.0-beta01
10 августа 2022 г.
androidx.core:core:1.9.0-beta01 is released. Version 1.9.0-beta01 contains these commits.
Изменения в API
- Added compatibility for
ACTION_SHOW_TEXT_SUGGESTIONSandis/setTextSelectable( Iedf82 ) - Added
IntentSanitizerto sanitize unsafe intents before launching them. ( Ib0be5 ) - Adds support for
BigPictureStyleusing Icon ( Ice26d , b/215583339 ) - Updated nullability annotations ( I34cce , b/236498052 , b/236498029 , b/236497996 , b/236497942 , b/236497884 , b/236497726 )
- Added
LocationManagerCompat.registerGnssMeasurementsCallbackto work around Android R bugs. ( Ie0f6f )
Исправлены ошибки
- Added
@RequiresPermissionto APIs that require granting thePOST_NOTIFICATIONSpermission on SDK 33 and above. ( Ie542e , b/238790278 ) - Adding support for API introduced in T." into androidx-platform-dev" ( )
- Adding support for API introduced in T. ( I358f1 )
-
TypefaceCompate.create(..., weight, italic)will fallback to platformTypeface.createwhen compat impl cannot resolve on API 14-20 ( I1ee34 , b/145311058 ) - Added accessibility framework constants previously absent from androidx." into androidx-main am: d5747be010" ( I5a074 )
- Added accessibility framework constants previously absent from androidx. ( I93c97 )
Внешний вклад
- Backported
Typeface#create(Typeface, int, boolean)which allows creating typeface with specific weight from a font family ( I342dc )
Version 1.9.0-alpha05
15 июня 2022 г.
androidx.core:core:1.9.0-alpha05 and androidx.core:core-ktx:1.9.0-alpha05 are released. Version 1.9.0-alpha05 was developed in a private pre-release branch and has no public commits.
Изменения в API
- Nullability updates to align with finalized API surface in Tiramisu Beta 3 SDK
-
minCompileSdkis now 33 to align with Tiramisu Beta 3 SDK
Версия 1.9.0-alpha04
18 мая 2022 г.
androidx.core:core:1.9.0-alpha04 and androidx.core:core-ktx:1.9.0-alpha04 are released. Version 1.9.0-alpha04 is built against a pre-release Android SDK and does not have a publicly-available commit history.
Исправлены ошибки
- Revert deprecation of
BuildCompat.isAtLeastT()and accompanyingSDK_INTchecks
Версия 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.
Версия 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.
Версия 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
ComponentActivityin Activity library - Improvements to
MenuProvidercallback methods, includingonPrepareMenuandonMenuClosed - Fixed issue where
FileProviderwould fail withIllegalArgumentExceptionon certain devices - Fixed issue where
TypefaceCompatapplied 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
OnSharedElementsReadyListenerto fully-qualified platform class to preventClassCastException( 0029fed )
Version 1.8.0-rc01
11 мая 2022 г.
androidx.core:core:1.8.0-rc01 and androidx.core:core-ktx:1.8.0-rc01 are released. Version 1.8.0-rc01 contains these commits.
Изменения в API
- Added
BuildCompatcheck 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.
Исправлены ошибки
-
TypefaceCompatwill now respect both requested and loaded style information on API 29+. This is a behavior change when the loaded fonts are notFontWeight.NormalorFontWeight.Bold, as the actual loaded weight and style will be used. ( #212 , b/194553426 )
Внешний вклад
Version 1.8.0-alpha06
23 марта 2022 г.
androidx.core:core:1.8.0-alpha06 is released. Version 1.8.0-alpha06 contains these commits.
Изменения в API
- The
MenuProviderinterface now includes theonPrepareMenu()callback, which is called when a menu is dynamically modified and should be shown. ( Ie85f9 ) - The
MenuProviderinterface now includes theonMenuClosed()method to be used whenever a menu should be closed. ( If5a16 ) - Updated
IconCompat#getResIdto have the proper resource annotation type to match the corresponding method in the framework inIcon#getResId( I49700 ) - Reverted previous change of relying solely on a View for
WindowInsetsControllerCompat, and again require a Window which is required for managing some window flags. DeprecatedViewCompat.getWindowInsetsControllerin favor ofWindowCompat.getInsetsControllerto 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
BitmapCompatfor smoother downscaling of bitmaps. ( Ib706c ) - Added nullability annotations to
ActivityCompat.requestDragAndDropPermissions( I0f2b0 , b/206113378 ) - Added a work-around to
FileProviderfor 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
ExtraDatafunctions toAccessibilityNodeInfoCompat( If2fc7 , b/137789185 ) - Added zero-arg overload for
bundleOf()to avoid an invisible array allocation when creating an empty bundle ( If7089 ) - Added
Continuation<T>.asFoo()adapters to create callbacks for writing suspend wrappers for Android APIs that accept common/generic callback types ( I6615e ) - Added nullable
Drawable.toBitmapOrNullmethod 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
OnPictureInPictureModeChangedProviderinterface to allow any component to receive picture-in-picture mode change events. This is implemented byComponentActivityin Activity1.5.0-alpha02. ( I9f567 ) - Adds the
OnMultiWindowModeChangedProviderinterface to allow any component to receive multi-window mode change events. This is implemented byComponentActivityin Activity1.5.0-alpha02. ( I62d91 ) - Cleaned up nullability for a subset of androidx.core APIs. ( Ia0e2f , b/206113818 )
Version 1.8.0-alpha03
26 января 2022 г.
androidx.core:core:1.8.0-alpha03 and androidx.core:core-ktx:1.8.0-alpha03 are released. Version 1.8.0-alpha03 contains these commits.
Изменения в API
- Converted
WindowInsetsControllerCompatto depend on a View instead of a Window or the platformWindowInsetsController. This improves behavior with Dialogs, showing the IME, and ensures the non-deprecated creation methods workaround ( b/180881870 ). ( I29264 , b/207401542 , b/210121779 ) - Cleaned up nullability for a subset of androidx.core APIs. ( Ib2583 , b/206113818 )
- Fixed nullability of
performAccessibilityActionparams ( Ibbafe ) - Added method for working around
ColorStateListissues 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
BuildCompatmethods 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, andonTrimMemoryProviderinterfaces 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#setHiddenFromLauncherto determine whether the shortcut should be hidden from the launcher. ( Ia2a71 ) - Add
NotificationCompat.Action#setAuthenticationRequired( Ieeafa , b/202172887 ) - Add
NotificationCompat.BigPictureStyle.setContentDescription( I3b483 ) - Added extension function
Map<String, Any?>.toPersistableBundle()( I82c86 )
Исправлены ошибки
- Adjusts the scroll distance for accessibility action ( If74ae )
- Removed hardcoded language code in Javadocs ( Ie5d68 )
Core and Core-ktx Version 1.7
Версия 1.7.0
27 октября 2021 г.
androidx.core:core:1.7.0 and androidx.core:core-ktx:1.7.0 are released. Version 1.7.0 contains these commits.
Important changes since 1.6.0
- Adds support for interacting with SDK 30 and later's permission revocation and app hibernation features, with backporting down to SDK 23 on supported devices. See IntentCompat.createManageUnusedAppRestrictionsIntent for more information.
- Adds support for composing menu support in components, see MenuProvider for more information.
Version 1.7.0-rc01
13 октября 2021 г.
androidx.core:core:1.7.0-rc01 and androidx.core:core-ktx:1.7.0-rc01 are released. Version 1.7.0-rc01 contains these commits.
Version 1.7.0-beta02
29 сентября 2021 г.
androidx.core:core:1.7.0-beta02 and androidx.core:core-ktx:1.7.0-beta02 released. Version 1.7.0-beta02 contains these commits.
Исправлены ошибки
-
MenuHostHelperwill now properly remove all LifecycleObservers when aMenuProvideris removed prior to the Lifecycle beingDESTROYED. ( Ibe2e1 , b/199788262 ) - Update the descriptions of the Unused App Restrictions Constants to be clearer for developers ( I2858e )
Version 1.7.0-beta01
15 сентября 2021 г.
androidx.core:core:1.7.0-beta01 and androidx.core:core-ktx:1.7.0-beta01 are released. Version 1.7.0-beta01 contains these commits.
Изменения в API
-
LocationRequestCompat.toProvidercan 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
MenuHostinterface for components that manageMenuProviders. ( I83f23 ) - Added
MenuProviderinterface that can be used to indicate that a component is supplying menu items. ( If8a40 ) - Added
MenuHostHelperto simplify implementingMenuHostin a component. ( I74f4a ) - Added
LocationRequestCompat.toLocationRequest()for converting to platform class. ( I71e75 ) - Added
DocumentsContractCompatclass for parity with platform APIs. ( Ia9e91 ) - Added
NotificationCompat.BigPictureStyle.showBigPictureWhenCollapsed(boolean)for parity with platform APIs. ( I8cd88 ) - Fixed an issue where
checkSelfPermissionfromPermissionCheckerwould show mic/cam indicators. ( I572a9 ) - Added explicit threading annotation for
setImportantForAccessibility. ( I990fa ) - Updated
getUnusedAppRestrictionsStatusto conform to API guidelines. ( I28a18 ) - Completed functionality for
getUnusedAppRestrictionsStatus. ( I7c2d6 ) - Added support to
LocationCompatfor vertical accuracy, speed accuracy, and bearing accuracy. ( I1d3e9 ) - Added math compat functions to
MathUtils. ( Idb590 ) - Integrated
OnReceiveContentListenerinto compat APIs. ( Ic6914 , b/173814913 ) - Added
ActivityCompat#isLaunchedFromBubblefor platform parity. ( I6961a ) - Added
LocationRequestandLocationManager.hasProvider()for platform parity. ( I4f3e4 )
Исправлены ошибки
- Removed the use of lambdas in
PackageManagerCompatto avoidLambdaDesugaringbug. ( 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.performReceiveContentto handle IME calls toInputConnection.commitContent. ( I3a2ad ) - Combined two APIs' functionality into one ( I261df )
- Modified two APIs' functionality for use with unused app restriction features (eg permission revocation, app hibernation) ( Ic1616 )
- Added three APIs for use with unused app restriction features (eg permission revocation, app hibernation) ( I606d7 )
- Added nullability annotations to several Compat classes ( I2802a , b/188452327 , b/189962089 )
- Added three APIs for use with unused app restriction features (eg permission revocation, app hibernation) ( Icafee )
- Addressed missing nullability annotation issues in ViewCompat ( Ic346e , b/188453571 )
Core Remote Views Version 1.1
Версия 1.1.0
12 июня 2024 г.
androidx.core:core-remoteviews:1.1.0 is released. Version 1.1.0 contains these commits .
Important changes since 1.0.0
- Core
RemoteViewsmoves to 1.1.0 stable.
Версия 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
RemoteViews1.1.0 to Release Candidate.
Исправлены ошибки
- Move to 21 as the default
minSdkVersionof androidx libraries. ( I6ec7f )
Версия 1.1.0-beta02
17 апреля 2024 г.
androidx.core:core-remoteviews:1.1.0-beta02 is released. No major changes since the last release.
Версия 1.1.0-beta01
3 апреля 2024 г.
androidx.core:core-remoteviews:1.1.0-beta01 is released. Version 1.1.0-beta01 contains these commits .
Версия 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
ArrayOutOfBoundsExceptionbeing 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.
Версия 1.0.0-beta02
10 августа 2022 г.
androidx.core:core-remoteviews:1.0.0-beta02 is released. Version 1.0.0-beta02 contains these commits.
Исправлены ошибки
- Исправление версии
Версия 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-RemoteViewsto beta.
Версия 1.0.0-alpha03
23 февраля 2022 г.
androidx.core:core-remoteviews:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits.
Исправлены ошибки
- Fix for infrastructure.
Версия 1.0.0-alpha02
26 января 2022 г.
androidx.core:core-remoteviews:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.
Версия 1.0.0-alpha01
15 декабря 2021 г.
androidx.core:core-remoteviews:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.
Новые функции
- Backport of the new
RemoteViews.setRemoteAdapterAPI. - Kotlin Extension functions to avoid reflection when calling
RemoteViewsmethods. - Library with helper functions for working with
App Widgetsizing 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
PlayServicesDevicePerformancefound in version1.0.0-beta2. ( b/318803680 )
Version 1.0.0-rc01
13 декабря 2023 г.
androidx.core:core-performance:1.0.0-rc01 , androidx.core:core-performance-play-services:1.0.0-rc01 , and androidx.core:core-performance-testing:1.0.0-rc01 are released. Version 1.0.0-rc01 contains these commits.
Новые функции
- Core Performance - Updated library implementation. (
DevicePerformancegeneric implementation). - Core Performance Play Services - Initial library implementation. (Google specific
DevicePerformanceimplementation). - Core Performance Testing - Initial library implementation. (contains test doubles for Core Performance).
Изменения в API
- Initial RC release of
DevicePerformancespecific API.
Версия 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.
Версия 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. (
DevicePerformancegeneric implementation). - Core Performance Play Services - Initial library implementation. (Google specific
DevicePerformanceimplementation). - Core Performance Testing - Initial library implementation. (contains test doubles for Core Performance).
Изменения в API
- Initial beta release of
DevicePerformancespecific API.
Версия 1.0.0-alpha03
23 августа 2023 г.
androidx.core:core-performance:1.0.0-alpha03 , androidx.core:core-performance-play-services:1.0.0-alpha03 , and androidx.core:core-performance-testing:1.0.0-alpha03 are released. Version 1.0.0-alpha03 contains these commits.
Новые функции
- Initial library implementation of
core-performance-testing, containing test doubles for core-performance. - Initial library implementation or
core-performance-play-services. Google specific implementation provides up to date media performance class information.
Изменения в API
- Add optional module providing media performance class from Google Play Services.
- core-performance constructors changed to support optional implementation.
Версия 1.0.0-alpha02
23 марта 2022 г.
androidx.core:core-performance:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.
Новые функции
- Provide an easy and reliable mechanism for developers to identify at runtime the device's level of performance in order to deliver an optimized app experience.
- This initial release uses a list of hand-tested devices that are granted performance class values higher than the level declared in Build.VERSION.MEDIA_PERFORMANCE_CLASS
Версия 1.0.0-alpha01
15 декабря 2021 г.
androidx.core:core-performance:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.
Core Splashscreen Version 1.2
Версия 1.2.0
5 ноября 2025 г.
androidx.core:core-splashscreen:1.2.0 is released. Version 1.2.0 contains these commits .
Версия 1.2.0-rc01
2 июля 2025 г.
androidx.core:core-splashscreen:1.2.0-rc01 is released. Version 1.2.0-rc01 contains these commits .
Version 1.2.0-beta02
23 апреля 2025 г.
androidx.core:core-splashscreen:1.2.0-beta02 is released. Version 1.2.0-beta02 contains these commits .
Версия 1.2.0-beta01
26 февраля 2025 г.
androidx.core:core-splashscreen:1.2.0-beta01 is released. Version 1.2.0-beta01 contains these commits .
Версия 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
isLightThemeattribute to themes ofSplashScreen( I01000 , b/238522114 ) - Get splashscreen icon by
AppCompatResources( Ib05e , b/289242141 , b/263972037 ) - Removed manual outlining of access to new platform APIs since this happens automatically via API modeling when using R8 with AGP 7.3 or later (eg R8 version 3.3) and for all builds when using AGP 8.1 or later (eg D8 version 8.1). Clients who are not using AGP are advised to update to D8 version 8.1 or later. See this article for more details. ( Ieb9ae , b/345472586 )
Версия 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.SplashScreento always since v30.( Idfc3f ) - Reset
enforceNavigationBarContrastto system default value from API 31, so the splash screen theme won't corrupt activity's theme. From API 31+, the splash screen isn't create asPhoneWindow, so it's unnecessary to inherit the value from API 29. Also remove the override action fromapplyAppSystemUiTheme, sinceenforceNavigationBarContrastcould 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
Версия 1.1.0-rc01
3 апреля 2024 г.
androidx.core:core-splashscreen:1.1.0-rc01 is released. Version 1.1.0-rc01 contains these commits .
Исправлены ошибки
- Provide default dimensions for wear device with 48x48dp icon ( Ib8de8 , b/256678037 )
- Fix
SplashScreenView#getIconViewcause NPE crash ( 6abfd6 , b/243457485 )
Версия 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.
Версия 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
NullPointerExceptionwhenSplashScreenView#getIconViewreturned 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.
Версия 1.0.0-beta02
23 марта 2022 г.
androidx.core:core-splashscreen:1.0.0-beta02 is released. Version 1.0.0-beta02 contains these commits.
Исправлены ошибки
- Fixed
Lateinit property platformView has not been initialized( b/214835299 )
Внешний вклад
- Fix rendering issue on MIUI with dark mode and Explicitly set
android:animateLayoutChangesto false to avoid the fading animation when removing the splash screen in theOnExitAnimationListener( #327 )
Версия 1.0.0-beta01
12 января 2022 г.
androidx.core:core-splashscreen:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits.
Исправлены ошибки
- Better night mode handling ensures that night mode is handled when the default parameters are used on all APIs. 2d1d182
Fixes bugs introduced in the new splash screen on Android 12:
- Fix systemBar flickering on API 31: Ensure that the system bars do not flicker when customizing the exit animation. 5a75362
- Fix insets handling when using OnExitAnimationListener: Ensures that the content does not jump when the OnExitAnimationListener is used. 4c8f264
Версия 1.0.0-alpha02
29 сентября 2021 г.
androidx.core:core-splashscreen:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.
Новые функции
- Better insets support: The splash screen now shows full screen on all APIs even when the
OnExitAnimationListeneris set. -
postSplashScreenThemeis optional: you can simply callactivity.setTheme()beforeonCreate()to set your app theme after the splash screen is shown. - Backward support of the
windowSplashScreenIconBackgroundColorattribute: usingTheme.SplashScreen.IconBackgroundandwindowSplashScreenIconBackgroundColor, you can add a background to the splash screen icon. - The sizing of the icon has been corrected to match the platform's specs.
Изменения в API
- Added backward compatibility for the windowSplashScreenIconBackgroundColor attribute
- Downgraded the minSdkVersion to API 21 ( Idd050 , b/198161849 , b/197759820 , b/198165621 )
Исправлены ошибки
- Make
postSplashScreenThemeoptional ( I8c4bf )
Версия 1.0.0-alpha01
30 июня 2021 г.
androidx.core:core-splashscreen:1.0.0-alpha01 is released.
Новые функции
-
core-splashscreenprovides 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.splashscreenfor usage information.
Core Google Shortcuts Version 1.2
Версия 1.2.0-alpha01
26 июля 2023 г.
androidx.core:core-google-shortcuts:1.2.0-alpha01 is released. Version 1.2.0-alpha01 contains these commits.
Изменения в API
- Merged public and experimental API files for a,b,c-paths ( I8cfee , b/278769092 )
- Migrated
androidx.coregroup to use merged public API files ( Ifdef4 , b/278769092 )
Core Google Shortcuts Version 1.1.0
Версия 1.1.0
24 октября 2022 г.
androidx.core:core-google-shortcuts:1.1.0 is released. Version 1.1.0 contains these commits.
Important changes since 1.0.0
- Migrated from using
com.google.firebase:firebase-appindexingto the newcom.google.android.gms:play-services-appindexlibrary. This version of the library is not compatible withcom.google.firebase:firebase-appindexing. Developers should avoid using both libraries to avoid build errors.
Версия 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-appindexingto the newcom.google.android.gms:play-services-appindexlibrary. Note that this version of the library is not compatible withcom.google.firebase:firebase-appindexing. Developers should avoid using both libraries to avoid build errors.
Версия 1.1.0-beta01
21 сентября 2022 г.
androidx.core:core-google-shortcuts:1.1.0-beta01 is released. Version 1.1.0-beta01 contains these commits.
Новые функции
- Removed unused dependency. No new features.
Версия 1.1.0-alpha03
7 сентября 2022 г.
androidx.core:core-google-shortcuts:1.1.0-alpha03 is released. Version 1.1.0-alpha03 contains these commits.
Новые функции
- Removed unused dependency. No new features.
Версия 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-appindexingtocom.google.android.gms:play-services-appindex. Developers who use this new version should not externally depend oncom.google.firebase:firebase-appindexing, as the two libraries are now incompatible.
Версия 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
ColorStateLists. ( 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
BuildCompatto use current long press timeout on latest platforms ( b/185118174 ) - Remove use of
synchronizedfromContextCompat,ContentLoadingProgressmethods.
Version 1.6.0-beta01
18 мая 2021 г.
androidx.core:core:1.6.0-beta01 and androidx.core:core-ktx:1.6.0-beta01 are released. Version 1.6.0-beta01 contains these commits.
Изменения в API
- Backport
Objects.requireNonNull()( I27db5 , b/179904366 )
Version 1.6.0-alpha03
5 мая 2021 г.
androidx.core:core:1.6.0-alpha03 and androidx.core:core-ktx:1.6.0-alpha03 are released. Version 1.6.0-alpha03 contains these commits.
Новые функции
- Add support for resolving theme attributes in nested
ColorStateLists. ( I2e409 b/155579892 )
Исправлены ошибки
Prevent NPE when handling
nullcustom selection action mode callbacks on AppCompat-backed views. ( I033c7 , b/173435375 )Add support for setSystemBarsBehavior on SDK < 30. ( I062c8 , b/173203649 )
Версия 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
TelephoneManagerCompatandSubscriptionManagerCompat( I5568d ) - Remove deprecated
addCapabilityBindingmethod fromShortcutInfoCompat( Ie8f70 ) - Add
addCapabilityBindingwith parameters andaddCapabilityBindingwithout parameters setters toShortcutInfoCompat.Builder, deprecated oldaddCapabilityBinding( I90686 ) - Add
LocationCompatclass andLocationManagerCompat.getCurrentLocation()( I78d9a ) - Deprecated
ModeCompat.isNativewhich is replaced byDisplayCompat.getMode. ( I9a6a2 ) - Added
ContextCompat.getAttributionTag()andUserHandleCompat.getUserHandleForUid()( Iea486 )
Внешний вклад
- Backport tintable background and check mark for
CheckedTextView( I8575c )
Версия 1.6.0-alpha01
24 марта 2021 г.
androidx.core:core:1.6.0-alpha01 and androidx.core:core-ktx:1.6.0-alpha01 are released. Version 1.6.0-alpha01 contains these commits.
Изменения в API
- Adds
Handler.hasCallbacks()method for parity with platform SDK ( Idce1c , b/113855676 ) - Adds capability related setter methods to
ShortcutInfoCompat.Builder( I45af6 )
Core Google Shortcuts Version 1.0
Версия 1.0.1
18 мая 2022 г.
androidx.core:core-google-shortcuts:1.0.1 is released. Version 1.0.1 contains these commits.
Исправлены ошибки
- Fix proguard rule to prevent a method from being unintentionally removed
Версия 1.0.0
30 июня 2021 г.
androidx.core:core-google-shortcuts:1.0.0 is released. Version 1.0.0 contains these commits.
Major features of 1.0.0
Include this module to allow shortcuts saved using ShortcutManagerCompat to also be donated to Google. This will unlock additional features with those shortcuts for users, such as displaying them as suggestions or allowing Google Assistant to fulfill them through voice query. There is no limit to the number of shortcuts that can be donated, and those that are donated this way are saved on-device. For more information, see the full documentation on pushing dynamic shortcuts to Assistant .
Version 1.0.0-rc01
16 июня 2021 г.
androidx.core:core-google-shortcuts:1.0.0-rc01 is released. Version 1.0.0-rc01 contains these commits.
Версия 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-shortcutslibrary will be saved as a Shortcut object in firebase appindexing, instead of a generic schema.org/Thing object.
Исправлены ошибки
- Removed the minSdkVersion requirement from the library. The library will still only work for API version 21 and above, but apps will no longer be required to set their own app's minSdkVersion to 21.
Версия 1.0.0-alpha03
5 мая 2021 г.
androidx.core:core-google-shortcuts:1.0.0-alpha03 is released. Version 1.0.0-alpha03 contains these commits.
Исправлены ошибки
- No longer automatically report shortcut usage when a shortcut is added / updated. Instead usage reporting will be moved to
ShortcutManagerCompat#pushDynamicShortcut.
Версия 1.0.0-alpha02
15 апреля 2021 г.
androidx.core:core-google-shortcuts:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.
Новые функции
- By depending on
androidx.core:core-google-shortcutsas an optional component along withandroidx.core; you can start usingShortcutManagerCompatto 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 byShortcutManagerCompatto 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
OnReceiveContentListenerto support rich content - Backported
WindowInsetsControllerandWindowInsetsCompatAPIs 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
Версия 1.5.0-rc02
5 мая 2021 г.
androidx.core:core:1.5.0-rc02 and androidx.core:core-ktx:1.5.0-rc02 are released. Version 1.5.0-rc02 contains these commits.
Исправлены ошибки
- Add support for setSystemBarsBehavior on SDK < 30. ( I062c8 , b/173203649 )
Версия 1.5.0-rc01
24 марта 2021 г.
androidx.core:core:1.5.0-rc01 and androidx.core:core-ktx:1.5.0-rc01 are released. Version 1.5.0-rc01 contains these commits.
Краткое содержание
- No changes from previous beta03
Version 1.5.0-beta03
10 марта 2021 г.
androidx.core:core:1.5.0-beta03 and androidx.core:core-ktx:1.5.0-beta03 are released. Version 1.5.0-beta03 contains these commits.
Изменения в API
- Added ExecutorCompat, which creates an Executor from a Handler. ( Ib4ca3 , b/181237835 )
Версия 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.isNativewhich is replaced byDisplayCompat.getMode. ( Iefa71 ) -
NotificationCompat.MessagingStyle.getText()was incorrectly marked as@NonNull; it is now@Nullable( I05cb7 )
Версия 1.5.0-beta01
13 января 2021 г.
androidx.core:core:1.5.0-beta01 and androidx.core:core-ktx:1.5.0-beta01 are released. Version 1.5.0-beta01 contains these commits.
Изменения в API
- Follow API guidelines for Bounds Compat/Platform interoperability ( I7da35 )
- Integrated drag-and-drop (drop events) in AppCompatEditText with OnReceiveContentListener. ( Ib26c9 , b/175343405 )
- Connection of the new Insets Animation API with the Platform implementation ( I078da )
- Added the new Insets Animation APIs ( I8aebd )
- Updated OnReceiveContentListener and related APIs:
- Updated OnReceiveContentListener so it can be set on any type of view via ViewCompat.
- Removed
getSupportedMimeTypes()fromOnReceiveContentListener; now MIME types are passed as an additional arg on theViewCompatmethod 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
TextViewOnReceiveContentListenerfrom 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.RichContentReceiverCompattoview.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#getSignaturesfor retrieving the certificate array for a package ( I8e9a3 , b/159831205 )
Исправлены ошибки
- Fix a bug where setting
BigPictureStyle.bigLargeIconwould break theBigPictureStylefor that notification on newer OS versions. ( Ic623d )
Внешний вклад
- ShareCompat now uses constructors for creation and the old factory methods have been deprecated. You can now create both builders and readers from a Context and an Activity is no longer required. ( I315b6 , b/173043501 )
- Set clip data and grant uri read permission when sharing streams using ShareCompat ( I4aa31 , b/173137936 )
Version 1.5.0-alpha05
11 ноября 2020 г.
androidx.core:core:1.5.0-alpha05 and androidx.core:core-ktx:1.5.0-alpha05 are released. Version 1.5.0-alpha05 contains these commits.
Изменения в API
- Added support for new GnssStatus APIs ( Id8e22 )
- Added overloads of
FileProvider#getUriForFileto support custom filenames ( Ie870b ) - Backported the
WindowInsetsControllerAPIs to control the system bar appearance. ( Ieb4ee ) - Renamed
getFontwith boolean togetCachedFont( Iea520 ) - Backported the
#hide()and#show()methods from WindowInsetsController APIs, added in API 30 ( I21573 ) - Added new API
ResourcesCompat#getFontwith cacheOnly option ( Ic38cf ) - Updated androidx notification bubbles APIs for Android 11 ( Ib9c70 )
Версия 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 )
Версия 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
-
ViewCompatis 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_DISAPPEAREDevents. ( Iaeffc )
Внешний вклад
- API lint check for the StaticFinalBuilder is enabled for androidx ( I2b11b , b/138602561 )
Версия 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
WindowInsetsCompatAPIs have been updated to those in the platform in Android 11. This includes the newime()inset type, which allows checking the visibility and size of the on-screen keyboard.- Some caveats about the
ime()type, it works very reliably on API 23+ when your Activity is using theadjustResizewindow soft input mode . If you're instead using theadjustPanmode, it should work reliably back to API 14.
- Some caveats about the
Изменения в API
- Added
ObjectsCompat#toString(Object, String). This offers the behavior ofObjects#toString(Object, String)but can be used pre-API 19. ( I26cdc ) - Added
NotificationCompat.Builder.recoverBuilder(Notification)( I6f100 ) - Add
NotificationCompat.Builder.createContentView()and peers ( I6fe13 ) - Add extra data related APIs in AccessibilityNodeInfoCompat ( I19567 )
- Add
NotificationCompat.Builder.setSettingsTextandNotificationCompat.MessagingStyle.addHistoricMessage( I62bb6 ) - Update Notification documentation ( I1293f )
- Fix nullability of NotificationCompat.Builder ( I932e3 )
- Added
NotificationChannelCompatandNotificationChannelGroupCompat( Icc3b6 ) - Add
addExtraDataToAccessibilityNodeInfotoAccessibilityNodeProviderCompat( I26575 ) - Update WindowInsetsCompat to Android 11 APIs ( I3df9e )
Внешний вклад
- Add
Urioverloads forMailTomethods ( I6fa6b ) - Added
MailToAPI which provides consistent behavior and bug fixes for all API levels ( Ie9395 , b/159827506 )
Версия 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, andNotificationclasses
Исправлены ошибки
- 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
AppCompatEditTextand 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
LocusIdto 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
NoClassDefFoundErrorerror forView#OnUnhandledKeyEventListenerwhen building an app bundle ( Id3419 , b/153695093 ) - Fixed a
setChronometerCountDowncrash 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
Typefaceweight 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
NestedScrollViewto run smooth scrolls with specified duration - New APIs on
ViewCompatto 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.
Исправлены ошибки
-
WindowInsetsCompatnow properly implementshashCode()andequals()on all supported API levels.
Version 1.3.0-beta01
1 апреля 2020 г.
androidx.core:core:1.3.0-beta01 and androidx.core:core-ktx:1.3.0-beta01 are released. Version 1.3.0-beta01 contains these commits.
Версия 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
NestedScrollViewto run smooth scrolls with specified duration - A new
ViewCompatAPI to retrieve the original window insets that were dispatched to the view hierarchy
Версия 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
- Added a
NotificationCompatAPI to silence a notification instance - Added
ResourcesCompat.NULL_ID - Deprecated
CarExtender.UnreadConversationinNotificationCompat - Added a
DisplayCompatAPI 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
BlendModeintroduced 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,WakefulBroadcastReceiverandInputConnectionCompat
Версия 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.
Версия 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.clampfor longs ( aosp/1117300 ) - Added
setChronometerCountDowntoNotificationCompat( b/138601213 )
Исправлены ошибки
- Fixed an issue with the handling of unicode digits in address detection. ( aosp/1129852 )
Внешний вклад
- Thank you Sergey Zakharov for enabling the API lint check for MissingBuild and ListenerLast in AndroidX! ( aosp/1119191 , aosp/1126768 )
Version 1.2.0-alpha04
5 сентября 2019 г.
androidx.core:core:1.2.0-alpha04 and androidx.core:core-ktx:1.2.0-alpha04 are released. The commits included in this version can be found here .
изменения API
- Deprecated
ShortcutInfoCompat.Builder#setLongLived()and replaced it with a new API with the same name that accepts a boolean as a parameter, to match the similar API inShortcutInfo.Builderin Android framework. - Added
ShortcutInfoCompat.Builder#setRank()andShortcutInfoCompat#getRank()to match theShortcutInfoin Android framework.
Исправлены ошибки
- Nested pre scrolling is no longer performed before the gesture exceeds touch slop ( b/139530818 , aosp/1105373 ). This benefits ViewPager2 and other libraries.
Version 1.2.0-alpha03
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
- Made
removeDynamicShortuct()static ( b/134993204 ) - Created factory method for BlendMode Color Filter ( b/135943149 )
- Added
async,counter, andisEnabledtoTraceCompat( aosp/987332 ) - Unhid APIs in
WindowInsetsCompatandViewDragHelper( aosp/979408 )
Исправлены ошибки
- Fixed bug with
NestedScrollViewscrolling in response to a11y scroll calls. ( aosp/971000 ) - Switched to using
SimpleArrayMapinViewCompatimplementation ( aosp/1012534 ) - Fixed bug where FingerprintManager incorrectly checked PackageManager on API Level 23 ( b/124066957 )
Версия 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
- Added WindowInsetsCompat.wrap() and unwrap(), to be able to wrap and unwrap WindowInsets instances
Версия 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/PREVIOUSaccessibility actions - Add
CATEGORY_NOTIFICATIONto 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.Modeequivalents 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,
WakefulBroadcastReceiverandInputConnectionCompat
Версия 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
NestedScrollingChild3andNestedScrollingParent3. - This library no longer exposes the
androidx.collectiondependency as part of its API. If you were depending on theandroidx.collectiontypes implicitly through a dependency on Core, you will need to add an explicitandroidx.collectiondependency 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.ComponentActivityimplementLifecycleOwnerto maintain binary compatibility withandroidx.fragment:fragment:1.0.0( aosp/1094409 )
Version 1.1.0-rc02
2 июля 2019 г.
androidx.core:core:1.1.0-rc02 and androidx.core:core-ktx:1.1.0-rc02 are released. The commits included in this version can be found here .
Исправлены ошибки
-
FingerprintManagerCompat#getFingerprintManagerOrNullon API level 23 should not checkPackageManager( b/124066957 ) ( aosp/987433 ) - Fix equality comparison in AccessibilityNodeInfoCompat ( aosp/985736 )
Версия 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 )
Версия 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
- Undeprecated capability setters ( aosp/937281 )
-
RemoteActionCompatis 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 )
Версия 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
LocationManagerCompatclass ( aosp/894736 )
изменения API
- 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
ImageViewon devices running API level 21
Версия 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
- Change value of
EXTRA_SHORTCUT_IDto be consistent with the platform ( aosp/877712 ) - Add
CATEGORY_NOTIFICATIONtoNotificationCompat( 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 )
Версия 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
NotificationManagerCompatso developers can use onlyNotificationManagerCompatwhen working with notifications. Special thanks to Zdeněk Kořán for this new feature!
изменения API
- Added new APIs to
ShortcutManagerCompatto publish and update dynamic shortcuts.
Версия 1.1.0-alpha01
5 ноября 2018 г.
androidx.core 1.1.0-alpha01 is released with the following API changes and bug fixes.
New features and API changes
- NestedScrollingChild3 and NestedScrollingParent3 add the 'consumed' parameter to the overloaded dispatchNestedScroll and * onNestedScroll methods so that the view that drives nested scrolling can be better informed about how much scroll distance was * consumed by parents in each nested scroll pass.
- NestedScrollView now implements NestedScrollingChild3 and NestedScrollingParent3, and therefore, the NestedScrollingChild2 and * NestedScrollingParent2 implementations of dispatchNestedScroll and onNestedScroll are not guaranteed to be called. Developers * counting on either being called should also override the new nested scrolling 3 version of dispatchNestedScroll and onNestedScroll.
- ShortcutInfoCompat has the following new fields: Persons, categories and isLongLived. Done to advertise it can accept various types * of content.
- Renamed SupportActivity to ComponentActivity. See androidx.activity for more info.
- Added getMainExecutor() method, which returns an Executor link that will run enqueued tasks on the main thread associated with that * context.
- Added compatibility implementation of Resources.getFloat.
- Added Results Source to compat RemoteInput. This allows apps to distinguish direct and smart replies for logging purposes.
- Added Kotlin extension functions for TextView TextWatcher actions.
- Deprecated AccessibilityNodeInfo capability and flag setters; use actions instead.
- Added AccessibilityPane to ViewCompat.
- Exposed ClickableSpans on pre-O devices through the addition of AccessibilityClickableSpanCompat.
- Deprecated
AccessibilityNodeInfoCompat.setFocusable(),setClickable(),setLongClickable(),setScrollable(), andsetContextClickable(). AddedAccessibilityActions instead. - Added
ViewCompat.setAccessibilityPaneTitle(),getAccessibilityPaneTitle(),setScreenReaderFocusable(),isScreenReaderFocusable(),setAccessibilityHeading(), andisAccessibilityHeading(), to backport thisViewaccessibility functionality through API 19. - Added
ViewCompat.enableAccessibleClickableSpanSupport()to allow developers to make non-URLClickableSpans 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
ContentResolverreturned 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-testingallows developers to test animators in a deterministic manner. SeeAnimatorTestRulefor 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.
Новые функции
-
RemoteViewsmoves moved to rc01 after stabilizing in beta.
Версия 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-testingallows 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 .
Версия 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
RoleManagerCompatcontaining 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
RoleManagerCompatcontaining 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
PrecomputedTextCompatwould crash when used with RTLAppCompatTextView. b/113070424
Core-Ktx Version 1.0.1
5 ноября 2018 г.
androidx.core-ktx 1.0.1 is released with the following bug fixes:
- Fixed bug where implementation of union and intersection were swapped.