public class

ToolbarSwitcherViewModel

extends ViewModel
java.lang.Object
   ↳ ViewModel
     ↳ com.pdftron.pdf.dialog.toolbarswitcher.ToolbarSwitcherViewModel

Class Overview

View Model in charge of managing ToolbarSwitcher's state.

Summary

Public Constructors
ToolbarSwitcherViewModel()
Public Methods
ToolbarSwitcherState getState()
void hideToolbar(String toolbarId)
void observeToolbarSwitcherState(LifecycleOwner owner, observer)
void selectToolbar(String toolbarId)
void setState(ToolbarSwitcherState state)
void showToolbar(String toolbarId)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ToolbarSwitcherViewModel ()

Public Methods

public ToolbarSwitcherState getState ()

public void hideToolbar (String toolbarId)

public void observeToolbarSwitcherState (LifecycleOwner owner, observer)

public void selectToolbar (String toolbarId)

public void setState (ToolbarSwitcherState state)

public void showToolbar (String toolbarId)