SuggestAppBarItemWhiteCaseModel

@RequiresApi(value = 23)
open class SuggestAppBarItemWhiteCaseModel<T : SuggestAppBarItemWhiteCaseView>(kclazz: KClass<T>, context: Context, title: String?, onClickListener: AppBarModel.OnClickListener?, buttonListModel: ButtonListModel) : SuggestAppBarItemModel<T>

A model for the SuggestAppBarItemWhiteCaseView. This class extends SuggestAppBarItemModel and is specifically designed for views that have a white background and require specific styling for their buttons and title.

Parameters

T

The type of the view that this model will be associated with. Must extend SuggestAppBarItemWhiteCaseView.

kclazz

The KClass of the view.

context

The context used to access resources.

title

The title to be displayed in the app bar item.

onClickListener

The listener for close button click events.

buttonListModel

The model for the list of buttons to be displayed.

See also

Constructors

Link copied to clipboard
constructor(kclazz: KClass<T>, context: Context, title: String?, onClickListener: AppBarModel.OnClickListener?, buttonListModel: ButtonListModel)

Types

Link copied to clipboard
class Builder(context: Context)

Functions

Link copied to clipboard
open override fun init(moduleView: T): T

Initializes the given AppBarView.