Package-level declarations

Types

Link copied to clipboard
open class AppBarModel<T : AppBarView>(@NotNull kclazz: KClass<T>, @NotNull context: Context)

The base model class for an AppBar suggestion.

Link copied to clipboard
data class ButtonListModel(val buttonStyle: ButtonStyle, val buttonModels: List<ButtonModel>)

This data class encapsulates the style and the individual models for a list of buttons for a SuggestAppBarView or its subclass.

Link copied to clipboard
data class ButtonModel @JvmOverloads constructor(val text: String? = null, val clickListener: AppBarModel.OnClickListener? = null, val contentDescription: String? = null)

Data class for button properties of an AppBar suggestion.

Link copied to clipboard
data class ButtonStyle(@StyleRes val defStyleRes: Int, @StyleRes val defStyleResDark: Int)

Data class containing the style resources for a button or set of buttons in a AppBar suggestion view both for light and dark themes.

Link copied to clipboard
open class SuggestAppBarItemModel<T : SuggestAppBarItemView> @JvmOverloads 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) : SuggestAppBarModel<T>

A model class extending SuggestAppBarModel that manages the data and behavior of a SuggestAppBarItemView or its subclass, typically used as an individual item or page within a suggestion ViewPager.

Link copied to clipboard
open class SuggestAppBarItemWhiteCaseModel<T : SuggestAppBarItemWhiteCaseView> @JvmOverloads 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) : SuggestAppBarItemModel<T>

A model class extending SuggestAppBarItemModel specifically designed for SuggestAppBarItemWhiteCaseView, providing tailored styling and behavior for views displayed on a white background ("white case").

Link copied to clipboard
open class SuggestAppBarModel<T : SuggestAppBarView> @JvmOverloads constructor(kclazz: KClass<T>, context: Context, val title: String? = null, val titleMaxLine: Int = 0, val subTitle: String? = null, val subTitleMaxLine: Int = 0, val imageDrawable: Drawable? = null, val closeClickListener: AppBarModel.OnClickListener? = null, val buttonListModel: ButtonListModel) : AppBarModel<T>

A model class extending AppBarModel that manages the data and behavior of a SuggestAppBarView or its subclasses, designed to display suggestion or action content.

Link copied to clipboard
open class ViewPagerAppBarModel<T : ViewPagerAppBarView>(kclazz: KClass<T>, context: Context, appBarModels: List<AppBarModel<out AppBarView>>) : AppBarModel<T>

This model class extends AppBarModel and provides functionality to manage the data and behavior of a ViewPagerAppBarView or its subclass.