iOS: fix wrong assignment reuse logic
This commit is contained in:
parent
5073dec8ac
commit
8e4bcd0519
@ -290,7 +290,9 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
|
||||
if (self.loadMore
|
||||
&& position >= MAX(0, (NSInteger) self.rowCount - 1 - (NSInteger) self.preloadItemCount)
|
||||
&& self.onLoadMoreFuncId) {
|
||||
reuseId = @"doricLoadMoreCell";
|
||||
if (reuseId == nil) {
|
||||
reuseId = @"doricLoadMoreCell";
|
||||
}
|
||||
[self callLoadMore];
|
||||
}
|
||||
DoricTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:reuseId ?: @"doricCell"];
|
||||
|
Reference in New Issue
Block a user