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

Binding listview anomaly

$
0
0

Hi,
I have a view model that takes data from openweathermap. The data are stored in a list (40 lines in forecast). There are also 5 other lists that filter the data by day1, day2..day5. My xaml binds the data in different listview. Listviw1 for day1 etc. On xamarin.forms 3.6 it works well. On version 4.4 the bind is confusing and shows all the data (40 data) on each listview (1,2..5).
If I bind after processing all the filters on day1, day2 etc. it works correctly.
What could be the problem?
Thanks.

<ListView ItemsSource="{Binding Day0.Items}"
              HasUnevenRows="True"
              CachingStrategy="RecycleElement"
              IsPullToRefreshEnabled="True"
              RefreshCommand="{Binding GetWeatherCommand}"
              IsRefreshing="{Binding IsBusy, Mode=OneWay}"
              RowHeight="45"
              x:Name="ListViewWeather0">

Viewing all articles
Browse latest Browse all 204402

Trending Articles



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