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

Reload tableview source do not works for me

$
0
0

I'm trying to reload an already populated tableview. I approached like this (table is my UITableView):
if (table != null && table.Source != null) {
table.Dispose ();
}
if (tableItems != null) {
table.Source = new TableSource (tableItems, this);
table.ReloadData ();
}

but the result is not working. I have like a frozen table. I can click over a row but exceptions raise because in my tablesource class objects are nulled referenced.
Can anyone put me in the right way to do:
1 .complete reload of tableview
2. update single tableview row
Thanks,
Max


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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