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

Public methods

equals

public boolean equals(Object other)

getDropCount

Added in 3.3.4
public final int getDropCount()

A count of items dropped from loaded items

getNewPlaceholdersAfter

Added in 3.3.4
public final int getNewPlaceholdersAfter()

The count of null items trailing the list of loaded data after items were dropped.

getOldPlaceholdersAfter

Added in 3.3.4
public final int getOldPlaceholdersAfter()

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

getStartIndex

Added in 3.3.4
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.

hashCode

public int hashCode()

toString

public @NonNull String toString()