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

Assigning itemsource to private property of listview not working please guide

$
0
0

<ListView x:Name="listview"ItemsSource="{Binding NewDeviceSessionList}"SelectedItem="{Binding DeviceSession, Mode=TwoWay}">
`private List newDeviceSessionlist;

    public List<DeviceSession> NewDeviceSessionList
    {
        get => newDeviceSessionlist;
        set => SetProperty(ref newDeviceSessionlist, value);
    }

//Not working
newDeviceSessionlist=listsource

//Working
NewDeviceSessionList=listsource`


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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