I have a TableView
whose cells content need to be updated when it's TableViewRowAction
is excecuted. More precisely I want to update a UILabel
inside the cell. Setting a new text to this label inside the action is no problem but when scrolling down/up and the cell gets reloaded, then this label inside the cell has the same text as before changing it.
I know that the cells get reused and that's why I want to know how to "avoid" this effect and how to update the content of the cells properly. I have already tried to call TableView.ReloadData()
which seems to solve the problem but the cells appear in a completly different order which doesn't look very nice.