Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

OperationMonitor.OnChangeListener

public static interface OperationMonitor.OnChangeListener

androidx.recyclerview.selection.OperationMonitor.OnChangeListener


Listen to changes in operation status. Authors should avoid changing the Adapter model while there are active operations.

Summary

Public methods

abstract void onChanged()

Called when operation status changes.

Public methods

onChanged

public abstract void onChanged ()

Called when operation status changes. Call OperationMonitor.isStarted() to determine the current status.