Hello everyone,
I'm currently facing a problem, while I was doing some tests with reloading the SfListView. It seems, that if you reference a ContentView which contains a SfListView the list has problems with showing the items in the correct size. It's hard to describe the problem, therefore I created a sample project, which shows what I mean.
The ContentPage "MainPage" contains the reference of a listview, which you can find in the ContentView "ListView". The ContentPage "ListViewPage" contains the ListView as directly implemented. The two pages update the listview through a while loop after 2,5 seconds. In the "ListViewPage" you see everything is fine. On the "MainPage" you can see that the items' size are nearly 0 (tested on an iPhone 5s simulator).
Maybe I'm doing something very wrong here or there is a bug. Any help would be appreciated!
Please ask if anything is unclear.
Update 11/26/2017:
If I call an InitializeComponent() right before I set the ItemsSource of the SfListView with the new values then the items are shown correctly. But that shouldn't be the right approach. Maybe this helps you in finding the problem.
Kind regards
Daniel