SuggestAppBarModel

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

Parameters

T

The type of SuggestAppBarView this model is associated with.

kclazz

The KClass of the SuggestAppBarView implementation.

context

The context used to access resources.

title

The title to be displayed in the app bar. Can be null.

closeClickListener

The OnClickListener to be invoked when the close button is clicked. Can be null.

buttonListModel

The ButtonListModel containing the list of buttons and their styles.