Suggest App Bar Item Model
open class SuggestAppBarItemModel<T : SuggestAppBarItemView>(@NotNull kclazz: KClass<T>, @NotNull context: Context, @Nullable title: String?, @Nullable onClickListener: AppBarModel.OnClickListener?, @NotNull buttonListModel: ButtonListModel) : SuggestAppBarModel<T>
A model class extends SuggestAppBarModel and provides functionality to manage the data and behavior of a SuggestAppBarItemView or its subclass.
Parameters
T
The view, which must extend SuggestAppBarItemView, associated with this model
kclazz
The Kotlin class of the view.
context
The context used to access resources.
title
The title to be displayed in the app bar item. Can be null.
on Click Listener
The click listener for the close button. Can be null.
button List Model
The model for the list of buttons to be displayed.
See also
Inheritors
Constructors
Link copied to clipboard
constructor(@NotNull kclazz: KClass<T>, @NotNull context: Context, @Nullable title: String?, @Nullable onClickListener: AppBarModel.OnClickListener?, @NotNull buttonListModel: ButtonListModel)