|
|
@@ -212,7 +212,7 @@ static const int history_delta = 7;
|
|
|
|
|
|
__weak typeof(self) weakSelf = self;
|
|
|
[self loadContentWithOption:0 Complete:^(int result, int count) {
|
|
|
- [weakSelf.shipTableView reloadData];
|
|
|
+// [weakSelf.shipTableView reloadData];
|
|
|
[weakSelf.shipTableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0] atScrollPosition:UITableViewScrollPositionTop animated:NO];
|
|
|
}];
|
|
|
}
|
|
|
@@ -283,7 +283,8 @@ static const int history_delta = 7;
|
|
|
default:
|
|
|
break;
|
|
|
}
|
|
|
-
|
|
|
+ // refresh UI
|
|
|
+ [weakSelf.shipTableView reloadData];
|
|
|
}
|
|
|
self.emptyBtn.hidden = self.shipArray.count > 0;
|
|
|
if (finish) {
|
|
|
@@ -445,9 +446,7 @@ static const int history_delta = 7;
|
|
|
}
|
|
|
|
|
|
- (void)jl_endRefresh:(JLRefreshBasis *)refresh {
|
|
|
-
|
|
|
- // refresh UI
|
|
|
- [self.shipTableView reloadData];
|
|
|
+
|
|
|
if (refresh == self.shipTableView.jl_footer && refresh.state == JLRefreshStateNoMore) {
|
|
|
|
|
|
}
|