iOS: fix iOS cannot loadmore when list's itemCount is 0
This commit is contained in:
parent
5ad4f4b981
commit
0dbab344d9
@ -171,7 +171,6 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
|
|||||||
+ (self.hasFooter ? 1 : 0)) {
|
+ (self.hasFooter ? 1 : 0)) {
|
||||||
reuseId = @"doricFooterCell";
|
reuseId = @"doricFooterCell";
|
||||||
} else if (self.loadMore
|
} else if (self.loadMore
|
||||||
&& position > 0
|
|
||||||
&& position == self.itemCount + (self.hasHeader ? 1 : 0)
|
&& position == self.itemCount + (self.hasHeader ? 1 : 0)
|
||||||
&& self.onLoadMoreFuncId) {
|
&& self.onLoadMoreFuncId) {
|
||||||
reuseId = @"doricLoadMoreCell";
|
reuseId = @"doricLoadMoreCell";
|
||||||
|
Reference in New Issue
Block a user