Hard to tell from the limited code snippets. It appears that you have not bound the
ItemsSource
of the
ListView
control to the collection in your
ViewModel
. Also, there should be a
SelectedItem
property that you can bind to without doing it the way that you are. [update:] Here is how to databind:
ListView Data Sources - Xamarin[
^]
Xamarin[
^] has a
tonne of resources[
^] that you can learn from. Here is a link that offers more than what you need but will cover what you want:
Multi-select ListView - Xamarin[
^]. Also check out their
forums...[
^]