修改完成

This commit is contained in:
启星
2025-09-11 18:25:41 +08:00
parent 349cab1499
commit 35709d4e8e
67 changed files with 1344 additions and 223 deletions

View File

@@ -645,19 +645,20 @@
switch (type) {
case TUIMessageBaseDataProviderDataSourceChangeTypeInsert:
[self.tableView insertRowsAtIndexPaths:@[ [NSIndexPath indexPathForRow:index inSection:0] ]
withRowAnimation:animation ? UITableViewRowAnimationFade : UITableViewRowAnimationNone];
withRowAnimation:UITableViewRowAnimationNone];
break;
case TUIMessageBaseDataProviderDataSourceChangeTypeDelete:
[self.tableView deleteRowsAtIndexPaths:@[ [NSIndexPath indexPathForRow:index inSection:0] ]
withRowAnimation:animation ? UITableViewRowAnimationFade : UITableViewRowAnimationNone];
withRowAnimation:UITableViewRowAnimationNone];
break;
case TUIMessageBaseDataProviderDataSourceChangeTypeReload:
[self.tableView reloadRowsAtIndexPaths:@[ [NSIndexPath indexPathForRow:index inSection:0] ]
withRowAnimation:animation ? UITableViewRowAnimationFade : UITableViewRowAnimationNone];
withRowAnimation:UITableViewRowAnimationNone];
break;
default:
break;
}
}
- (void)dataProviderDataSourceDidChange:(TUIMessageDataProvider *)dataProvider {