public interface

ObservableArray.ArrayObserver<T>

 androidx.pdf.util.ObservableArray.ArrayObserver<T>

Overview

Interface to be provided by observers of this container.

Summary

Methods
public voidonValueAdded(int index, java.lang.Object addedValue)

Signals a new value has been added to the array.

public voidonValueRemoved(int index, java.lang.Object removedValue)

Signals a value has been removed from the array.

public voidonValueReplaced(int index, java.lang.Object previousValue, java.lang.Object newValue)

Signals a value has been replaced by another in the array.

Methods

public void onValueAdded(int index, java.lang.Object addedValue)

Signals a new value has been added to the array.

public void onValueRemoved(int index, java.lang.Object removedValue)

Signals a value has been removed from the array.

public void onValueReplaced(int index, java.lang.Object previousValue, java.lang.Object newValue)

Signals a value has been replaced by another in the array.