Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Reloading data in UITabelView removed selection

$
0
0

Hi

I have an application, that fetches a client list from a web service. This list contains data that changes every time the client list is retrieved from the web service.

Therefore, the table data must be reloaded every time the list is fetched. I have set up the table with a custom source, and use the reloadData method to make the UITableView refresh the display. This works fine. It however has the irritating side effect that the selection is cleared every time.

This seems like a very everyday usage of the UITableView. Do anyone have an idea how to prevent this behavior?

Thanks in advance Søren Rokkedal


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>