PlaceholderPaddedList
public interface PlaceholderPaddedList<T extends Object>
Interface to paged list that could contain placeholders.
Contains a paged list's snapshot state. For example, in the context of PagingDataEvent.Refresh exposed by PagingDataPresenter, each PlaceholderPaddedList represents a generation of paged data whereby a new generation is distinguished with a refresh load.
Summary
Public methods |
|
|---|---|
abstract int |
|
abstract @NonNull T |
getItem(int index) |
abstract int |
|
abstract int |
|
abstract int |
getSize() |