ComposableCheckBoxViewHolder

ViewHolder for Composable Items with Checkbox.

This ViewHolder is responsible for binding data to a Checkbox view and handling user interactions. This is a concrete implementation of ActionableComposableViewHolder to provide action handling capabilities.

Parameters

frameView

The view to be used by this ComposableActionViewHolder which is expected to be a CheckBox.

Constructors

Link copied to clipboard
constructor(frameView: View)

Functions

Link copied to clipboard
open override fun bindData(viewData: ViewData)
Link copied to clipboard
open override fun onBind(itemView: View)

Binds click events on the parent ViewHolder's view to this ActionableComposableViewHolder's doAction if the parent view doesn't handle click events itself.

Link copied to clipboard
open override fun onViewRecycled(itemView: View)

Cleans up any resources when the view is recycled. It removes the click listener from the itemView and sets the doAction to null.