SeslSelectLayoutFooterHelper

Helper class for computing, creating, and animating footer view heights in androidx.picker.widget.SeslAppPickerSelectLayout.

Constructors

Link copied to clipboard
constructor(context: Context)

Functions

Link copied to clipboard

Cancels any running footer height animation.

Link copied to clipboard
fun computeTargetFooterHeight(orientation: Int, isBottomSearchVisible: Boolean): Int

Computes the target height of the footer based on orientation and search bar visibility.

Link copied to clipboard
Link copied to clipboard
fun getBottomSystemBarHeight(orientation: Int): Int

Calculates the bottom system bar + display cutout insets for the given orientation.

Link copied to clipboard

Retrieves or creates the footer view instance.

Link copied to clipboard
fun updateFooterHeight(view: View, targetHeight: Int, animate: Boolean)

Updates or animates the target footer view height.