Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

LoadState

sealed class LoadState
kotlin.Any
   ↳ androidx.paging.LoadState

LoadState of a PagedList load - associated with a LoadType

LoadState of any LoadType may be observed for UI purposes by registering a listener via androidx.paging.PagingDataAdapter.addLoadStateListener or androidx.paging.AsyncPagingDataDiffer.addLoadStateListener

Summary

Nested classes

Loading hit an error.

Loading is in progress.

Indicates the PagingData is not currently loading, and no error currently observed.

Properties
Boolean

false if there is more data to load in the LoadType this LoadState is associated with, true otherwise.

Properties

endOfPaginationReached

val endOfPaginationReached: Boolean

false if there is more data to load in the LoadType this LoadState is associated with, true otherwise. This parameter informs Pager if it should continue to make requests for additional data in this direction or if it should halt as the end of the dataset has been reached.