Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

ContentPage not updating

$
0
0

Ok, I'm stumped. I've got a simple contentPage with a TableView that I'm trying to update after another View is popped. I've got code like this:

protected override void OnAppearing ()
{
            base.OnAppearing ();

            loadAccounts ();
}

loadAccounts simply clears the tableview and re-adds the cells from the DB. This never works though, unless you change tabs and come back to the tab content page with the tableview, then the correct data is magically there.

I've also go the code in loadAccounts running as Device.BeginInvokeOnMainThread and still have same result.

What am I missing?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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