PagingDataEvent.Prepend
public final class PagingDataEvent.Prepend<T extends Object> extends PagingDataEvent
A prepend load event
Summary
Public methods |
|
|---|---|
boolean |
|
final @NonNull List<@NonNull T> |
The list of newly prepended items. |
final int |
The count of null items leading the list of loaded data when new data has been prepended. |
final int |
The count of null items leading the list of loaded data prior to new data being prepended |
int |
hashCode() |
@NonNull String |
toString() |
Public methods
getInserted
Added in 3.3.0
public final @NonNull List<@NonNull T> getInserted()
The list of newly prepended items.
getNewPlaceholdersBefore
Added in 3.3.0
public final int getNewPlaceholdersBefore()
The count of null items leading the list of loaded data when new data has been prepended.
getOldPlaceholdersBefore
Added in 3.3.0
public final int getOldPlaceholdersBefore()
The count of null items leading the list of loaded data prior to new data being prepended