if the first time I select filter1 with adapter1, the width is normal, then I select filter 2 with adapter 2, the width is resized (some cell have same width with the adapter 1).
if the first time I select filter2 with adapter2, the width is normal, then I select filter 1 with adapter 1, the width is resized (some cell have same width with the adapter 2).
and so on.
condition :
I have 4 adapter and 1 tableView, the adapter will changed on each filter triggered by spinner
on each adapter has different colWidth
changing adapter using tableView.adapter = adapter1 / adapter2 and so on.
still having this issue after added
cellContainerView.layoutParams.width = xxx
cellCcontainerView.requestLayout()
.and
headerContainerView.layoutParams.width = xxx
headerCcontainerView.requestLayout()
.all of these located on
onBindCellViewHolder
andonBindColumnHeaderViewHolder
Reference original code example : CellViewHolder.java
issue :
condition :