public class

ToolManagerViewModel

extends ViewModel
java.lang.Object
   ↳ ViewModel
     ↳ com.pdftron.pdf.widget.toolbar.ToolManagerViewModel

Class Overview

View Model for ToolManager that allows you to observe tool change events.

Summary

Nested Classes
class ToolManagerViewModel.ToolChange  
class ToolManagerViewModel.ToolSet  
Public Constructors
ToolManagerViewModel()
Public Methods
ToolManager.Tool getTool()
ToolManager getToolManager()
void observeToolChanges(LifecycleOwner owner, observer)
void observeToolManagerChanges(LifecycleOwner owner, observer)
void observeToolSet(LifecycleOwner owner, observer)
void setToolManager(ToolManager toolManager)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ToolManagerViewModel ()

Public Methods

public ToolManager.Tool getTool ()

public ToolManager getToolManager ()

public void observeToolChanges (LifecycleOwner owner, observer)

public void observeToolManagerChanges (LifecycleOwner owner, observer)

public void observeToolSet (LifecycleOwner owner, observer)

public void setToolManager (ToolManager toolManager)