Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

hi XF team, Updating a Content of ContentPage after awaiting data from api call, blocks UI.

$
0
0

Sample Code snippet

View which has ActivityIndicator running with binding Set to IsBusy from BindingContext of (ViewModel) at Start
Once Api call finishes it updates ObservableCollection property in ViewModel , i am receiving ItemSource changed in View through Binding ,since i have created a bindable property of ItemSource in my View.

In that ItemSourcesChanged event I am building a complex View with the DataObject "newvalue" which i received -- Blocks Here (1)

Then i am setting this.Content = complexView; --Blocks Here too (2).

please help me.

Thanks,


Viewing all articles
Browse latest Browse all 204402

Latest Images

Trending Articles



Latest Images

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