c# - Navigation.PopAsync showing the old page for a moment -


i calling navigation.popasync call previous page. but, on onappearing method of previous page, refreshing data of listview setting itemssource. when calling popasync able see previous page old data moment. after moment page refreshes , shows correct data. there way hide old data being shown?

add bool dataloaded property implements onpropertychanged view model. bind property yours page content.isvisibleproperty. when start refreshing data set dataloaded false, , after finishes set true. add activityindicator better user experience (http://developer.xamarin.com/api/type/xamarin.forms.activityindicator)

see data binding chapter: http://developer.xamarin.com/guides/cross-platform/xamarin-forms/introduction-to-xamarin-forms/


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -