com.h6ah4i.android.widget.advrecyclerview.adapter.BridgeAdapterDataObserver.Subscriber |
Known Indirect Subclasses
AbstractHeaderFooterWrapperAdapter<HeaderVH extends RecyclerView.ViewHolder, FooterVH extends RecyclerView.ViewHolder>,
BaseWrapperAdapter<VH extends RecyclerView.ViewHolder>,
ComposedAdapter,
DebugWrapperAdapter,
SimpleWrapperAdapter<VH extends RecyclerView.ViewHolder>
|
The subscriber interface.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onBridgedAdapterChanged(Adapter source, Object tag)
Routed
onChanged() event. | ||||||||||
abstract void |
onBridgedAdapterItemRangeChanged(Adapter source, Object tag, int positionStart, int itemCount)
Routed
onItemRangeChanged(int, int) event. | ||||||||||
abstract void |
onBridgedAdapterItemRangeChanged(Adapter source, Object tag, int positionStart, int itemCount, Object payload)
Routed
onItemRangeChanged(int, int, Object) event. | ||||||||||
abstract void |
onBridgedAdapterItemRangeInserted(Adapter source, Object tag, int positionStart, int itemCount)
Routed
onItemRangeInserted(int, int) event. | ||||||||||
abstract void |
onBridgedAdapterItemRangeRemoved(Adapter source, Object tag, int positionStart, int itemCount)
Routed
onItemRangeRemoved(int, int) event. | ||||||||||
abstract void |
onBridgedAdapterRangeMoved(Adapter source, Object tag, int fromPosition, int toPosition, int itemCount)
Routed
onItemRangeChanged(int, int, Object) event. |
Routed onChanged()
event.
source | The source adapter |
---|---|
tag | The tag object |
Routed onItemRangeChanged(int, int)
event.
source | The source adapter |
---|---|
tag | The tag object |
positionStart | Position of the first item that has changed |
itemCount | Number of items that have changed |
Routed onItemRangeChanged(int, int, Object)
event.
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 |
Routed onItemRangeInserted(int, int)
event.
source | The source adapter |
---|---|
tag | The tag object |
positionStart | Position of the first item that was inserted |
itemCount | Number of items inserted |
Routed onItemRangeRemoved(int, int)
event.
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 |
Routed onItemRangeChanged(int, int, Object)
event.
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.) |