GridRemoveViewHolder

class GridRemoveViewHolder @JvmOverloads constructor(view: View, gridStrategy: GridStrategy = DefaultGridStrategy()) : GridViewHolder

ViewHolder class for displaying a grid item with a remove icon. This class extends GridViewHolder and adds functionality for showing a remove icon.

Parameters

view

The view for the grid item.

gridStrategy

Strategy for grid layout composable types.

Constructors

Link copied to clipboard
constructor(view: View, gridStrategy: GridStrategy = DefaultGridStrategy())

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun bindData(data: ViewData)

Updates the enabled/disabled state of this ViewHolder if the ViewData is an instance of AppInfoViewData.

Link copied to clipboard
open override fun setViewEnableState(enable: Boolean)

Sets the enabled state of the itemView and its children.