Footer keeps triggering
sameer4 opened this issue · 0 comments
sameer4 commented
I'm experiencing a issue where footer keeps triggering once i trigger it manually.
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