# Package-level declarations

## Types

InfinityPagedComponentContext
Link copied to clipboard
class InfinityPagedComponentContext < T >

Context for managing infinite pagination in a Compose UI.

PagedComponentContext
Link copied to clipboard
class PagedComponentContext < T >

Context for managing paginated data in a Compose UI.

## Functions

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

Composable function for managing an infinitely paged component.

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

Overloaded composable function for an infinitely paged component.

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

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

rememberInfinityPagedComponentContext
Link copied to clipboard
fun < T > rememberInfinityPagedComponentContext (size: Int , page: Int = 0, scope: CoroutineScope = rememberCoroutineScope(), doReloadInInit: Boolean = true, loader: suspend InfinityPagedComponentContext < T >.( Pagination ) -> PaginationResult < T >): InfinityPagedComponentContext < T >

Creates and remembers an InfinityPagedComponentContext for managing infinite pagination in a Compose UI. This function is used to create a persistent pagination context that survives recompositions.