({height, isScrolling, width, x, y})
| 165 | } |
| 166 | |
| 167 | cellRenderers({height, isScrolling, width, x, y}) { |
| 168 | const {cellGroupRenderer, cellRenderer} = this.props; |
| 169 | |
| 170 | // Store for later calls to getLastRenderedIndices() |
| 171 | this._lastRenderedCellIndices = this._sectionManager.getCellIndices({ |
| 172 | height, |
| 173 | width, |
| 174 | x, |
| 175 | y, |
| 176 | }); |
| 177 | |
| 178 | return cellGroupRenderer({ |
| 179 | cellCache: this._cellCache, |
| 180 | cellRenderer, |
| 181 | cellSizeAndPositionGetter: ({index}) => |
| 182 | this._sectionManager.getCellMetadata({index}), |
| 183 | indices: this._lastRenderedCellIndices, |
| 184 | isScrolling, |
| 185 | }); |
| 186 | } |
| 187 | |
| 188 | _isScrollingChange(isScrolling) { |
| 189 | if (!isScrolling) { |
no test coverage detected