PagingDataEvent.DropAppend
public final class PagingDataEvent.DropAppend<T extends Object> extends PagingDataEvent
A drop event from the end of the list
Summary
Public methods |
|
|---|---|
boolean |
|
final int |
A count of items dropped from loaded items |
final int |
The count of null items trailing the list of loaded data after items were dropped. |
final int |
The count of null items trailing the list of loaded data prior to items being dropped. |
final int |
The first index where this drop is applied. |
int |
hashCode() |
@NonNull String |
toString() |
Public methods
getDropCount
public final int getDropCount()
A count of items dropped from loaded items
getNewPlaceholdersAfter
public final int getNewPlaceholdersAfter()
The count of null items trailing the list of loaded data after items were dropped.
getOldPlaceholdersAfter
public final int getOldPlaceholdersAfter()
The count of null items trailing the list of loaded data prior to items being dropped.
getStartIndex
public final int getStartIndex()
The first index where this drop is applied. If placeholders are enabled, represents the index of the first dropped item that was replaced with a placeholder. Otherwise, it represents the index of where the first real item was dropped.