I have a table view with rows (custom cells). If user tap on row, row’s height changes (using ReloadRows and overrided GetHeightForRow methods).
I want to change row’s height back when user taps already selected row.
Is it possible to get previous height in overrided GetHeightForRow() method? That should resolve a problem.
It’s just like expand/collapse, but I don’t know exactly how to implement it right and simply..
Thanks in advance!
Well, you should remember the last select row in your UITableViewDelegate, if it’s the same row you have to collapse the row.
Something like this: