Suggest App Bar Item Model
constructor(kclazz: KClass<T>, context: Context, title: String? = null, titleMaxLine: Int = 0, subTitle: String? = null, subTitleMaxLine: Int = 0, imageDrawable: Drawable? = null, closeClickListener: AppBarModel.OnClickListener? = null, buttonListModel: ButtonListModel)
Parameters
T
The type of SuggestAppBarItemView associated with this model.
kclazz
The Kotlin class (KClass) of the view.
context
The context used to access resources and layout inflaters.
title
The primary title text to be displayed. Can be null.
title Max Line
Maximum number of lines for the primary title. Defaults to 0.
sub Title
The subtitle text to be displayed beneath the title. Can be null.
sub Title Max Line
Maximum number of lines for the subtitle. Defaults to 0.
image Drawable
Optional icon or image drawable displayed alongside the text content. Can be null.
close Click Listener
The click listener invoked when the close/dismiss button is clicked. Can be null.
button List Model
The ButtonListModel containing action button models and styling information.