Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Footer keeps triggering #40

Open
sameer4 opened this issue Oct 22, 2019 · 0 comments
Open

Footer keeps triggering #40

sameer4 opened this issue Oct 22, 2019 · 0 comments

Comments

@sameer4
Copy link

sameer4 commented Oct 22, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant