evrencoskun / TableView

TableView is a powerful Android library for displaying complex data structures and rendering tabular data composed of rows, columns and cells.
MIT License
3.13k stars 453 forks source link

Fix issue #339 - Invalidate column after calling `TableView#setColumnWidth` #376

Closed MGaetan89 closed 3 years ago

MGaetan89 commented 3 years ago

The current implementation of TableView#setColumnWidth only updates the cache, but does not actually update the column, until it has to be redrawn. This PR fixes that. I didn't find any existing method to invalidate a column, so I added one. Let me know if I missed something, and I'll update my fix accordingly.