Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

iOS refresh logic is weird #35

Description

@HarryTylenol

Problem

Pager appending same pages on top when refresh called in iOS.

Inspection

_pagingData.value = _pagingData.value?.toMutableList()?.apply {

According to this line, _pagingData keep appending next page list to previous list when loadItems called.


then _pagingData should be invalidated when refresh() called, but only currentPagingResult and _hasNextPage got invalidated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions