AndroidX Activity 1.9.0-alpha02

1.9.0-alpha02
Changed 6
  • ActivityResultRegistry has been rewritten in Kotlin so that the nullability of the generics on the contract passed to register is correctly passed through to the returned ActivityResultLauncher behavior changed · inferred, marked in the notes below
  • ActivityResult has been rewritten in Kotlin
  • The ActivityResult Kotlin extensions supporting destructuring into resultCode and data have been moved from activity-ktx to activity
  • The Kotlin extensions of by viewModels() for ComponentActivity and trackPipAnimationHintView have been moved from activity-ktx to activity
  • The activity-ktx artifact is now completely empty
  • The enableEdgeToEdge API now draws around any display cutouts behavior changed · inferred, marked in the notes below
Fixed 1

1 change to check, marked in the notes below

From AndroidX Activity

ActivityResultRegistry has been rewritten in Kotlin. This ensures that the nullability of the generics on the contract passed to register will correctly be passed through to the ActivityResultLauncher returned to you. ( I121f0) ActivityResult has been rewritten in Kotlin. The ActivityResult Kotlin extensions that support destructuring into the resultCode and data fields have been moved from activity-ktx to activity. ( I0565a) The Kotlin extensions of by viewModels() for ComponentActivity and trackPipAnimationHintView have been moved from activity-ktx to activity. The activity-ktx artifact is now completely empty. ( I0a444) The enableEdgeToEdge API now draws around any display cutouts. ( a3644b, b/311173461) From Activity 1.8.2: Fixed the extra passed to the Photo Picker Activity Contract's ACTION_SYSTEM_FALLBACK_PICK_IMAGES to correctly pass it the EXTRA_SYSTEM_FALLBACK_PICK_IMAGES_MAX key, rather than using the extra with the key "com.google.android.gms.provider.extra.PICK_IMAGES_MAX". It is strongly recommended if you are an OEM who implements a system fallback Photo Picker to support both extras to ensure the widest compatibility. ( I96a00) behavior changed · inferred

View original

Upgraded? How did it go?

Discussion