API reference
API reference
Select your platform
No SDKs available
No versions available

horizon.core.android.common.pagination.ext

Updated: Aug 26, 2025

Package-level declarations

Types

NameSummary
@Serializable
data class CursorsJson(val cursors: PagingJSON? = null, val next: String? = null, val previous: String? = null)
@Serializable
data class PagingJSON(val before: String? = null, val after: String? = null)

Properties

NameSummary
pages
val <T> PagedResults<T>.pages: Flow<Page<T>>
Cold flow of paged data updates.

Functions

NameSummary
initialPage
suspend fun <T> PagedResults<T>.initialPage()
nextPage
suspend fun <T> PagedResults<T>.nextPage(): Boolean
previousPage
suspend fun <T> PagedResults<T>.previousPage(): Boolean
Did you find this page helpful?
Thumbs up icon
Thumbs down icon