Repository navigation
Commit a74a3d8
committed
Table: improve tile mode
There may not always be a tile for a row. Therefore, implement
Table.createTiles more lenient in order to avoid null pointer
exceptions. In addition, the TableTileGridMediator ensures that null
values removed from its list of tiles.
The list of tiles of the TableTileGridMediator needs to be unique as the
tiles will be rendered one after another. If there are duplicates in the
list of tiles an 'Already rendered'-error will be thrown if the second
occurrence is rendered. Therefore, the TableTileGridMediator removes all
duplicates from its list of tiles.
3790081 parent c27b01c commit a74a3d8
2 files changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5209 | 5209 | | |
5210 | 5210 | | |
5211 | 5211 | | |
5212 | | - | |
5213 | | - | |
| 5212 | + | |
| 5213 | + | |
| 5214 | + | |
| 5215 | + | |
5214 | 5216 | | |
5215 | 5217 | | |
5216 | 5218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
| 194 | + | |
193 | 195 | | |
194 | 196 | | |
195 | 197 | | |
| |||
435 | 437 | | |
436 | 438 | | |
437 | 439 | | |
438 | | - | |
| 440 | + | |
439 | 441 | | |
440 | 442 | | |
441 | 443 | | |
| |||
528 | 530 | | |
529 | 531 | | |
530 | 532 | | |
531 | | - | |
| 533 | + | |
| 534 | + | |
532 | 535 | | |
533 | 536 | | |
534 | 537 | | |
| |||
0 commit comments