I am using a grouped tableview to present data. I am new to MonoTouch so i have been following examples and tutorials to get started.
Now i have a UITableView, filled up with data, and want to change the data in the tableview. How can i do that, preferably in a “cost effective” way (where the cost is the phones resources).
I have two classes for populating the tableview, TableSource and TableItem. The class TableSource extends UITableViewSource.
TableSource have the following methods: int NumberOfSections, int RowsInSection, string TitleForHeader, void RowSelected, UITableViewCell GetCell
Update the underlying data source for your table, then call the ReloadData() method of your tableview. This will redraw the table with the updated data.
See also: Monotouch – ReloadData()