Suggest App Bar Model
A model class extending AppBarModel that manages the data and behavior of a SuggestAppBarView or its subclasses, designed to display suggestion or action content.
This class handles setting the main title, subtitle, image icon/drawable, action buttons, and click listeners for both the close button and action buttons within a suggestion app bar card.
Use the Builder class to construct instances of SuggestAppBarModel.
Parameters
The type of SuggestAppBarView associated with this model.
The Kotlin class (KClass) of the SuggestAppBarView implementation.
The context used to access resources and layout inflaters.
The primary title text to be displayed. Can be null.
Maximum number of lines for the primary title. Defaults to 0.
The subtitle text to be displayed beneath the title. Can be null.
Maximum number of lines for the subtitle. Defaults to 0.
Optional icon or image drawable displayed alongside the text content. Can be null.
The click listener invoked when the close/dismiss button is clicked. Can be null.
The ButtonListModel containing action button models and styling information.
See also
Inheritors
Constructors
Types
Builder class for constructing instances of SuggestAppBarModel.