From 0dbab344d9d3f3078564e615432b99c58b0a32f1 Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Mon, 11 Oct 2021 11:32:18 +0800 Subject: [PATCH] iOS: fix iOS cannot loadmore when list's itemCount is 0 --- doric-iOS/Pod/Classes/Shader/DoricListNode.m | 1 - 1 file changed, 1 deletion(-) diff --git a/doric-iOS/Pod/Classes/Shader/DoricListNode.m b/doric-iOS/Pod/Classes/Shader/DoricListNode.m index acee6971..35b55d78 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricListNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricListNode.m @@ -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";