Make an infinite list with pagination

Look at the example in PostsScreen and PostsScreenModel.

PostsScreen loads and displays an infinite list of posts fetched with pagination.

PostsLoaded(
    state.posts,
    fetchingNewPage = state.fetchingNewPage,
    newPage = { screenModel.newPage() }
)

Last updated