Xamarin – Selective ListView in Android

In this post we would see how to display a collection in ListView and select one or many items.

As we are going to have a ListView, the following is the simple layout.


Now instead of creating a layout for the ListView content, we would use some from the Android.Resource . And adding the ChoiceMode property to the ListView.


Here is the view, with single selection mode with Radio Buttons.


We have a CheckBox style instead of RadioButton, here are the changes.


And you would get the Check image instead of the RadioButton.


Now, let’s try for the multiple selections. Also you need to change the ChoiceMode to Multiple.


And you would get the multiple checked items.


Hope this post helps, thanks for reading.

Full Source Code: Click Here