PagingDataEvent.Append


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


An append load event

Summary

Public methods

boolean
equals(Object other)
final @NonNull List<@NonNull T>

The list of newly appended items.

final int

The count of null items trailing the list of loaded data when new data has been appended.

final int

The count of null items trailing the list of loaded data prior to new data being appended.

final int

The first index where this append is applied.

int
@NonNull String

Public methods

equals

public boolean equals(Object other)

getInserted

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

The list of newly appended items.

getNewPlaceholdersAfter

Added in 3.3.4
public final int getNewPlaceholdersAfter()

The count of null items trailing the list of loaded data when new data has been appended.

getOldPlaceholdersAfter

Added in 3.3.4
public final int getOldPlaceholdersAfter()

The count of null items trailing the list of loaded data prior to new data being appended.

getStartIndex

Added in 3.3.4
public final int getStartIndex()

The first index where this append is applied. If placeholders are enabled, represents the index of the first placeholder replaced with a real item. Otherwise, it represents the index of where the first new item is inserted.

hashCode

public int hashCode()

toString

public @NonNull String toString()