public abstract class

Observables.AbstractObservable<O>

extends java.lang.Object

implements Observable<java.lang.Object>

 java.lang.Object

↳androidx.pdf.util.Observables.AbstractObservable<O>

Subclasses:

Observables.ExposedArray<V>

Overview

A convenient way to make a Subject class observable is by inheriting this base class.

Summary

Fields
protected final Observables.MultiObservers<java.lang.Object>mObservers

Constructors
publicAbstractObservable()

Methods
public java.lang.ObjectaddObserver(java.lang.Object observer)

protected java.lang.Iterable<java.lang.Object>getObservers()

public voidremoveObserver(java.lang.Object observer)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

protected final Observables.MultiObservers<java.lang.Object> mObservers

Constructors

public AbstractObservable()

Methods

public java.lang.Object addObserver(java.lang.Object observer)

public void removeObserver(java.lang.Object observer)

protected java.lang.Iterable<java.lang.Object> getObservers()