AndroidX Core 1.13.0-alpha02

1.13.0-alpha02
Added 1
  • Adds the OnUserLeaveHintProvider interface to allow any component to receive onUserLeaveHint events necessary for implementing picture-in-picture
Changed 3
  • The OnMultiWindowModeChangedProvider, OnNewIntentProvider, OnPictureInPictureModeChangedProvider, OnConfigurationChangedProvider, and OnTrimMemoryProvider interfaces have been converted to Kotlin so that the generic parameters on their listener Consumer have correct non-null nullability
  • The MultiWindowModeChangedInfo and PictureInPictureModeChangedInfo classes sent to the Consumer of their respective Provider interfaces are now written in Kotlin
  • Core now depends on Lifecycle 2.6.2
Deprecated 1

1 change to check, marked in the notes below

From AndroidX Core

Adds the OnUserLeaveHintProvider interface to allow any component to receive onUserLeaveHint events necessary for implementing picture-in-picture. This is implemented by ComponentActivity in Activity 1.9.0-alpha01. ( I54892) Deprecated androidx.core.os.CancellationSignal. Usages should be replaced with the platform-provided android.os.CancellationSignal. ( Id45f6, b/309499026, b/309054079) The OnMultiWindowModeChangedProvider, OnNewIntentProvider, OnPictureInPictureModeChangedProvider, OnConfigurationChangedProvider, and OnTrimMemoryProvider interfaces have been converted to Kotlin to ensure that the generic parameters on the Consumer that their listener methods take have the correct nullability (they are all non-null). ( Ib6237) The MultiWindowModeChangedInfo and PictureInPictureModeChangedInfo classes that are sent to the Consumer added to their respective Provider interfaces are now written in Kotlin. ( Ie08e2) Core now depends on Lifecycle 2.6.2. ( I2d94c) deprecated · inferred

View original

Upgraded? How did it go?

Discussion