reloadRow method

void reloadRow(
  1. List<AppTableIndexPath> indexPaths
)

刷新单个单元格 indexPaths 单元格索引

Implementation

void reloadRow(List<AppTableIndexPath> indexPaths) {
  for (var indexPath in indexPaths) {
    final key = rowCellKey(indexPath.row, indexPath.column);
    final notifier = _cellMap[key];
    if (notifier != null) {
      notifier.value = notifier.value + 1;
    }
  }
}