StockNotificationViewModel

Stock notification view model that gets its notification data from the panel.

Constructors

Link copied to clipboard
constructor(panel: StockNotificationPanel)

Properties

Link copied to clipboard
open override val bodyText: LiveData<StringResolver?>

The text shown in the body section.

Link copied to clipboard

The view model for the header section containing the thumbnail, title and description.

Link copied to clipboard

The view models for options in the options section. Each view model populates an additional item in the options section. Each item represents one option a user can choose from(e.g. send quick replies, an option given by VPA, etc.).

Link copied to clipboard

The view model for the primary button in the button section.

Link copied to clipboard

The view model for the secondary action button in the button section.

Inherited properties

Link copied to clipboard
Link copied to clipboard
open override val panel: StockNotificationPanel

Inherited functions

Link copied to clipboard
Link copied to clipboard
override fun getLifecycle(): Lifecycle