refreshSelectedAppPickerView

Refreshes the selected appPickerStateView.

This function determines the appropriate layout type based on the current orientation, whether there are selected apps, and whether a header is present.

If withTransition is true, a ChangeBounds transition is used to animate the layout change. During the transition, the item animator of the selectedListView is temporarily removed and restored to prevent animation conflicts.

Parameters

withTransition

True to animate the layout change, false otherwise.