PagingDataEvent.Prepend


public final class PagingDataEvent.Prepend<T extends Object> extends PagingDataEvent


A prepend load event

Summary

Public methods

boolean
equals(Object other)
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
@NonNull String

Public methods

equals

public boolean equals(Object other)

getInserted

Added in 3.3.5
public final @NonNull List<@NonNull T> getInserted()

The list of newly prepended items.

getNewPlaceholdersBefore

Added in 3.3.5
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.5
public final int getOldPlaceholdersBefore()

The count of null items leading the list of loaded data prior to new data being prepended

hashCode

public int hashCode()

toString

public @NonNull String toString()