Package-level declarations

Types

Link copied to clipboard

Context for managing infinite pagination in a Compose UI.

Link copied to clipboard

Context for managing paginated data in a Compose UI.

Functions

Link copied to clipboard
fun <T> InfinityPagedComponent(    pageInfo: Pagination,     loader: suspend InfinityPagedComponentContext<T>.(Pagination) -> PaginationResult<T>,     predefinedScope: CoroutineScope? = null,     block: @Composable InfinityPagedComponentContext<T>.(List<T>?) -> Unit)
fun <T> InfinityPagedComponent(    size: Int,     loader: suspend InfinityPagedComponentContext<T>.(Pagination) -> PaginationResult<T>,     predefinedScope: CoroutineScope? = null,     block: @Composable InfinityPagedComponentContext<T>.(List<T>?) -> Unit)

Overloaded composable function for an infinitely paged component.

Link copied to clipboard
fun <T> PagedComponent(    pageInfo: Pagination,     loader: suspend PagedComponentContext<T>.(Pagination) -> PaginationResult<T>,     predefinedScope: CoroutineScope? = null,     block: @Composable PagedComponentContext<T>.(PaginationResult<T>) -> Unit)

Overloaded composable function for paginated components with pagination info.

fun <T> PagedComponent(    size: Int,     loader: suspend PagedComponentContext<T>.(Pagination) -> PaginationResult<T>,     predefinedScope: CoroutineScope? = null,     block: @Composable PagedComponentContext<T>.(PaginationResult<T>) -> Unit)

Overloaded composable function for paginated components with only a size parameter.