GridViewHolder
open class GridViewHolder @JvmOverloads constructor(view: View, gridStrategy: GridStrategy = DefaultGridStrategy()) : PickerViewHolder, Inducible
ViewHolder for displaying items in a grid layout.
This ViewHolder is responsible for binding data to the views within a grid item, including handling icon loading, selection state, highlighting, and accessibility. It also implements the Inducible interface to provide a visual indication (shake animation) when an action is performed on the item.
Parameters
view
The root view of the grid item.
gridStrategy
Strategy for grid layout composable types.
Inheritors
Functions
Link copied to clipboard
Updates the enabled/disabled state of this ViewHolder if the ViewData is an instance of AppInfoViewData.
Link copied to clipboard
Called when the view is recycled.