public class


extends ViewModel
   ↳ ViewModel
     ↳ com.pdftron.pdf.dialog.pagelabel.PageLabelSettingViewModel

Class Overview

View Model containing user settings from the Page label setting dialog. Observe data changes from this View Model if you would like to respond to Page label edit/modification events.


Public Constructors
Public Methods
void observeOnComplete(LifecycleOwner owner, observer)
Observe changes to PageLabelSetting.
Inherited Methods
From class java.lang.Object

Public Constructors

public PageLabelSettingViewModel ()

Public Methods

public void observeOnComplete (LifecycleOwner owner, observer)

Observe changes to PageLabelSetting. The listener will get notified with a PageLabelSetting object, when the user would like to edit/modify the page labels. Note only one observer is going to be notified of changes.

owner The LifecycleOwner which controls the observer
observer The observer that will receive the events