Rachel
Toggle table of contents
3.5.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.components.pagination-layout
/
love.yinlin.compose.ui.layout
/
PaginationGrid
Pagination
Grid
@
Composable
fun
<
T
>
PaginationGrid
(
items
:
List
<
T
>
,
key
:
(
T
)
->
Any
?
=
null
,
columns
:
GridCells
,
state
:
LazyGridState
=
rememberLazyGridState()
,
canRefresh
:
Boolean
=
true
,
canLoading
:
Boolean
=
false
,
onRefresh
:
suspend
(
)
->
Unit
?
=
null
,
onLoading
:
suspend
(
)
->
Unit
?
=
null
,
modifier
:
Modifier
=
Modifier
,
contentPadding
:
PaddingValues
=
PaddingValues.Zero
,
verticalArrangement
:
Arrangement.Vertical
=
Arrangement.Top
,
horizontalArrangement
:
Arrangement.Horizontal
=
Arrangement.Start
,
header
:
@
Composable
LazyGridItemScope
.
(
)
->
Unit
?
=
null
,
itemContent
:
@
Composable
LazyGridItemScope
.
(
T
)
->
Unit
)