Skip to content

Footer keeps triggering  #40

@sameer4

Description

@sameer4

I'm experiencing a issue where footer keeps triggering once i trigger it manually.

image

here the code

table.cr.addFootRefresh(animator: NormalHeaderAnimator()) { [weak self] in
            guard let self = self else { return }
            
            if self.selectedFilter.rawValue > SearchFilterType.All.rawValue {
                self.handleSearch(for: trim(self.txtSearch.text))
            }
            
            self.table.cr.endLoadingMore()
}

and in handleSearch, i'm query the database and then reloading the tableview

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions