{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
enum LoadType
Type of load a PagingData
can trigger a PagingSource
to perform.
LoadState
of any LoadType
may be observed for UI purposes by registering a listener via androidx.paging.PagingDataAdapter.addLoadStateListener
or androidx.paging.AsyncPagingDataDiffer.addLoadStateListener
.
See also | |
---|---|
LoadState |
Enum Values |
|
---|---|
APPEND |
Load at the end of a |
PREPEND |
Load at the start of a |
REFRESH |
|
@NonNull
@NonNull LoadType LoadType.REFRESH
PagingData
content being refreshed, which can be a result of PagingSource
invalidation, refresh that may contain content updates, or the initial load.