[Preliminary setup]:
has list of some columns to hide (for example random 27 columns to hide / 31 all columns)
[Steps to reproduce]:
1) hide all columns by:
columnsToHide.forEach {
hideColumn(it)
}
2) revert by calling showAllHidedColumns()
3) repeat step 1and 2
4) 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
[Preliminary setup]: has list of some columns to hide (for example random 27 columns to hide / 31 all columns)
[Steps to reproduce]: 1) hide all columns by: columnsToHide.forEach { hideColumn(it) } 2) revert by calling showAllHidedColumns() 3) repeat step 1and 2 4) 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