{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

LoadState.NotLoading

{% setvar page_path %}androidx/paging/LoadState.NotLoading.html{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "reference/_kotlin_switcher2.md" %}

class LoadState.NotLoading : LoadState

Any
   ↳ LoadState
     ↳ LoadState.NotLoading

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

Summary

Public properties

Boolean

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

Public constructors

NotLoading(endOfPaginationReached: Boolean)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

endOfPaginationReached

val endOfPaginationReachedBoolean

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.

Public constructors

NotLoading

NotLoading(endOfPaginationReached: Boolean)
Parameters
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.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String