user2858107
user2858107

Reputation: 53

Xamarin.ios Refresh Button

I have a UiTableView that I want to reload when a button is clicked inside the navigation bar that looks like a refresh button.

I have the following setup its already connected via action to the display:

    partial void refreshButtonClicked(MonoTouch.Foundation.NSObject sender){


    }

But from here I want to reload the table data. Im stumped, I have tried to use table.Refresh()to no joy and I can not find any literature.

Help much appreciated

Upvotes: 3

Views: 2261

Answers (1)

choper
choper

Reputation: 1292

You should use table.ReloadData()

Also take a look at Populating a Table with Data

Upvotes: 4

Related Questions