ComposableRadioButtonViewHolder

ViewHolder for a composable view that displays a RadioButton.

This ViewHolder is responsible for binding data to a RadioButton and handling user interactions. It extends ActionableComposableViewHolder to support actions when the view is clicked.

Parameters

frameView

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

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.