The second Android 11 Developer Preview is now available, test it out and share your feedback.

Slice

Latest Update Current Stable Release Next Release Candidate Beta Release Alpha Release
May 7, 2019 1.0.0 - - 1.1.0-alpha01

Version 1.1.0

Version 1.1.0-alpha01

May 7, 2019

androidx.slice:slice-builders:1.1.0-alpha01, androidx.slice:slice-builders-ktx:1.0.0-alpha07, androidx.slice:slice-core:1.1.0-alpha01, and androidx.slice:slice-view:1.1.0-alpha01 are released. The commits included in this version can be found here.

New features

  • onCreatePermissionRequest can be overridden in SliceProvider to customize the permission grant behavior

Bug fixes

  • Fixed OnSliceActionListener was not getting called when a row item with only one action was clicked
  • Fixed SliceView has not respecting MeasureSpec.EXACTLY layout params
  • Fixed duplicate onClick during onLongClick on SliceView