public class SectionAdapterListUpdateCallback
extends java.lang.Object
implements androidx.recyclerview.widget.ListUpdateCallback
SectionAdapter.DiffUtil.DiffResult#dispatchUpdatesTo(ListUpdateCallback)| Constructor and Description |
|---|
SectionAdapterListUpdateCallback(SectionAdapter sectionAdapter) |
| Modifier and Type | Method and Description |
|---|---|
void |
onChanged(int position,
int count,
java.lang.Object payload) |
void |
onInserted(int position,
int count) |
void |
onMoved(int fromPosition,
int toPosition) |
void |
onRemoved(int position,
int count) |
public SectionAdapterListUpdateCallback(SectionAdapter sectionAdapter)
public void onInserted(int position,
int count)
onInserted in interface androidx.recyclerview.widget.ListUpdateCallbackpublic void onRemoved(int position,
int count)
onRemoved in interface androidx.recyclerview.widget.ListUpdateCallbackpublic void onMoved(int fromPosition,
int toPosition)
onMoved in interface androidx.recyclerview.widget.ListUpdateCallbackpublic void onChanged(int position,
int count,
@Nullable
java.lang.Object payload)
onChanged in interface androidx.recyclerview.widget.ListUpdateCallback