I am binding multiple values to the Listview in Xamarin and when I selected a single row I want to retrieve the multiple values from that. Here is the blow code I have written for retrieving the values
if (((ListView)sender).SelectedItem == null)
var patients = (Patient)((ListView)sender).SelectedItem; entryPatientName.Text = patients.PatientName; patientid =Convert.ToInt32(patients.PaitentId); }
By using the above code I am getting the selected patient name and I am unable to get the id of the selected patient can any help on this.