iOS: fix iOS cannot loadmore when list's itemCount is 0

This commit is contained in:
pengfei.zhou
2021-10-11 11:32:18 +08:00
committed by osborn
parent 5ad4f4b981
commit 0dbab344d9

View File

@@ -171,7 +171,6 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
+ (self.hasFooter ? 1 : 0)) {
reuseId = @"doricFooterCell";
} else if (self.loadMore
&& position > 0
&& position == self.itemCount + (self.hasHeader ? 1 : 0)
&& self.onLoadMoreFuncId) {
reuseId = @"doricLoadMoreCell";