title: Xamarin Forms - How to get the index number from ListView SelectedItem
body: <p>I am completely stuck on this.
  I have a ListView defined in XAML code, but I need to find out what the <code>int</code> of the selected item I am tapping.</p>
  
  <p>My listview is called <code>PeopleList</code>
  When I tap on a cell I need to get the index number of that cell.</p>
  
  <p>So I can do <code>PeopleList.SelectedItem</code> but this returns an object - not an int.</p>
  
  <p>I have tried parsing it and converting and everything that makes logically sense to me.</p>
  
  <p>Can someone please tell me how to get the int for the selectedItem?</p>