public class

PageLabelSettingViewModel

extends ViewModel
java.lang.Object
   ↳ 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.

Summary

Public Constructors
PageLabelSettingViewModel()
Public Methods
void observeOnComplete(LifecycleOwner owner, observer)
Observe changes to PageLabelSetting.
[Expand]
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.

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