Skip to content

Child Pages with dynamic number of childrens #462

Answered by arkivanov
mndsl asked this question in Q&A
Discussion options

You must be logged in to vote

You can have initialPages an empty list. Then load initial pages from the server and use navigate { it.copy(items = it.items + <new_batch>) } to append the batch. Then on the UI side, listen while the user scrolls, and at some point notify the component to load the next batch. Would this work?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mndsl
Comment options

@arkivanov
Comment options

Answer selected by mndsl
@mndsl
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants