ActionableComposableViewHolder
Abstract extension of ComposableViewHolder designed to be actionable, meaning it can trigger an action when clicked. The action to be performed is defined by the doAction supplier. Subclasses must implement the bindData method to bind data to the Composable content.
Parameters
frameView
The root view of the ViewHolder.
Inheritors
Properties
Functions
Link copied to clipboard
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
Cleans up any resources when the view is recycled. It removes the click listener from the itemView and sets the doAction to null.