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