iOS fix listnode
This commit is contained in:
parent
663c3d5b92
commit
408868e8d5
@ -231,7 +231,7 @@ - (void)callItem:(NSUInteger)position height:(CGFloat)height {
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[UIView performWithoutAnimation:^{
|
||||
NSUInteger itemCount = self.itemCount + (self.loadMore ? 1 : 0);
|
||||
if ([self.view numberOfRowsInSection:0] <= position || currentCount != itemCount) {
|
||||
if (itemCount <= position || currentCount != itemCount) {
|
||||
[self.view reloadData];
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user