added in version 22.1.0
belongs to Maven artifact com.android.support:recyclerview-v7:28.0.0-alpha1
belongs to Maven artifact com.android.support:recyclerview-v7:28.0.0-alpha1
SortedListAdapterCallback
public
abstract
class
SortedListAdapterCallback
extends Callback<T2>
java.lang.Object | ||
↳ | android.support.v7.util.SortedList.Callback<T2> | |
↳ | android.support.v7.widget.util.SortedListAdapterCallback<T2> |
A SortedList.Callback
implementation that can bind a SortedList
to a
RecyclerView.Adapter
.
Summary
Public constructors | |
---|---|
SortedListAdapterCallback(Adapter adapter)
Creates a |
Public methods | |
---|---|
void
|
onChanged(int position, int count, Object payload)
Called when |
void
|
onChanged(int position, int count)
Called by the SortedList when the item at the given position is updated. |
void
|
onInserted(int position, int count)
|
void
|
onMoved(int fromPosition, int toPosition)
|
void
|
onRemoved(int position, int count)
|
Inherited methods | |
---|---|
![]()
android.support.v7.util.SortedList.Callback
| |
![]()
java.lang.Object
| |
![]()
java.util.Comparator
|