public static interface

BridgeAdapterDataObserver.Subscriber

com.h6ah4i.android.widget.advrecyclerview.adapter.BridgeAdapterDataObserver.Subscriber
Known Indirect Subclasses

Class Overview

The subscriber interface.

Summary

Public Methods
abstract void onBridgedAdapterChanged(Adapter source, Object tag)
Routed onChanged() event.
abstract void onBridgedAdapterItemRangeChanged(Adapter source, Object tag, int positionStart, int itemCount)
abstract void onBridgedAdapterItemRangeChanged(Adapter source, Object tag, int positionStart, int itemCount, Object payload)
abstract void onBridgedAdapterItemRangeInserted(Adapter source, Object tag, int positionStart, int itemCount)
abstract void onBridgedAdapterItemRangeRemoved(Adapter source, Object tag, int positionStart, int itemCount)
abstract void onBridgedAdapterRangeMoved(Adapter source, Object tag, int fromPosition, int toPosition, int itemCount)

Public Methods

public abstract void onBridgedAdapterChanged (Adapter source, Object tag)

Routed onChanged() event.

Parameters
source The source adapter
tag The tag object
See Also

public abstract void onBridgedAdapterItemRangeChanged (Adapter source, Object tag, int positionStart, int itemCount)

Parameters
source The source adapter
tag The tag object
positionStart Position of the first item that has changed
itemCount Number of items that have changed

public abstract void onBridgedAdapterItemRangeChanged (Adapter source, Object tag, int positionStart, int itemCount, Object payload)

Parameters
source The source adapter
tag The tag object
positionStart Position of the first item that has changed
itemCount Number of items that have changed
payload Optional parameter, use null to identify a "full" update

public abstract void onBridgedAdapterItemRangeInserted (Adapter source, Object tag, int positionStart, int itemCount)

Parameters
source The source adapter
tag The tag object
positionStart Position of the first item that was inserted
itemCount Number of items inserted

public abstract void onBridgedAdapterItemRangeRemoved (Adapter source, Object tag, int positionStart, int itemCount)

Parameters
source The source adapter
tag The tag object
positionStart Previous position of the first item that was removed
itemCount Number of items removed from the data set

public abstract void onBridgedAdapterRangeMoved (Adapter source, Object tag, int fromPosition, int toPosition, int itemCount)

Parameters
source The source adapter
tag The tag object
fromPosition Previous position of the item.
toPosition New position of the item.
itemCount Number of items moved (NOTE: this parameter is not actually used, always 1.)