getType

fun getType(orientation: Int, hasSelected: Boolean, hasHeader: Boolean): SeslAppPickerSelectLayout.LayoutType(source)

Determines the LayoutType based on orientation, selection state, and header presence.

Return

The appropriate LayoutType for the given parameters.

Parameters

orientation

The current device orientation (ORIENTATION_PORTRAIT or other for landscape).

hasSelected

Whether there are any items selected in the app picker.

hasHeader

Whether a header view is currently displayed.