MainCompactProcessViewModel

A specialization of CompactProcessViewModel for use with MainProcessPanel.

Parameters

P

The type of the panel.

panel

The MainProcessPanel of type P that hosts this MainCompactProcessViewModel.

Constructors

Link copied to clipboard
constructor(panel: P)

Inherited properties

Link copied to clipboard
Link copied to clipboard

The metadata that describes an ongoing process. This allows the user to recognise what the ongoing process is about.

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

A ViewModel containing a list of buttons to offer in the main process panel or task process panel. The primary buttons commonly impact the ongoing process directly. E.g., skipping a song.

Link copied to clipboard

A ViewModel containing information required to display a progress bar.

Link copied to clipboard

A ViewModel containing a list of buttons to offer in the main process panel or task process panel. The secondary buttons commonly do not impact the ongoing process but offer actions related to the ongoing process. E.g., liking a song.

Link copied to clipboard
open val tag: Int?

An ID tag which can be overridden to find a specific main process panel or task process panel during tests by use of the withIdTag() matcher.

Inherited functions

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