| 145 | } |
| 146 | |
| 147 | TableViewCell* TableView::cellAtIndex(ssize_t idx) |
| 148 | { |
| 149 | if (_indices->find(idx) != _indices->end()) |
| 150 | { |
| 151 | for (const auto& cell : _cellsUsed) |
| 152 | { |
| 153 | if (cell->getIdx() == idx) |
| 154 | { |
| 155 | return cell; |
| 156 | } |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | return nullptr; |
| 161 | } |
| 162 | |
| 163 | void TableView::updateCellAtIndex(ssize_t idx) |
| 164 | { |
no test coverage detected