AppListItemViewHolder

A PickerViewHolder responsible for displaying an item in a list of applications in linear layout. This ViewHolder dynamically inflates and manages different composable parts (icon, title, etc.) based on the provided ComposableType.

It also implements the Inducible interface to provide visual feedback on interaction.

Parameters

view

The root view of the item.

composableType

Defines the structure and behavior of the composable elements within this item.

Constructors

Link copied to clipboard
constructor(view: View, composableType: ComposableType)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun bindAdapter(adapter: AbsAdapter)

Binds the adapter to this ViewHolder.

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

Binds data to this ViewHolder and its composable components.

Link copied to clipboard

Attempts to perform an action on the first ActionableComposableViewHolder with action.

Link copied to clipboard
open override fun induce(): DisposableHandle

Provides visual feedback by briefly setting the item view to a pressed state.

Link copied to clipboard
open override fun onViewRecycled()

Called when the view is recycled.