Open phucdzvcll opened 2 years ago
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
Clicking on reload will pass the adapter a new set of data, but on reload the column headers and cells no longer match.