TableView
TableView copied to clipboard
[Bug] Multiple hide columns -> showAllHided columns generates IndexOutOfBoundsException
[Preliminary setup]: has list of some columns to hide (for example random 27 columns to hide / 31 all columns)
[Steps to reproduce]:
- hide all columns by: columnsToHide.forEach { hideColumn(it) }
- revert by calling showAllHidedColumns()
- repeat step 1and 2
- try to hide columns one more time
[Actual Result]: java.lang.IndexOutOfBoundsException: Index: 30, Size: 27 Also before step 4) we have length discrepancy between columns items and cells items Also detected this log after step 3): E/CellRecyclerView: mIsVerticalScrollListenerRemoved has been tried to remove itself before add new one
[Expect Result]: Can hide columns -> showColumns as many times as wanted without any issues