SuggestAppBarItemModel

constructor(@NotNull kclazz: KClass<T>, @NotNull context: Context, @Nullable title: String?, @Nullable onClickListener: AppBarModel.OnClickListener?, @NotNull buttonListModel: ButtonListModel)

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.

onClickListener

The click listener for the close button. Can be null.

buttonListModel

The model for the list of buttons to be displayed.