TableView
TableView copied to clipboard
Column header not match cell when to reload
Clicking on reload will pass the adapter a new set of data, but on reload the column headers and cells no longer match.
- For example below:

you can fix temporary by fixed width for every column in view holder
-
ColumnHeaderViewHolder column_header_container.layoutParams.width = mContext.resources.getDimension(R.dimen.width_item_timesheet).toInt() column_header_container.requestLayout()
-
CellViewHolder cell_container.layoutParams.width = mContext.resources.getDimension(R.dimen.width_item_timesheet).toInt() cell_container.requestLayout()
you can different every column base on id