Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 636
user2858107 Avatar asked Jul 12 '26 10:07

user2858107


1 Answers

You should use table.ReloadData()

Also take a look at Populating a Table with Data

like image 154
choper Avatar answered Jul 15 '26 02:07

choper



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!