title: How to know which row tapped or selected in ListView Xamarin Form
body: <p>I am new to Xamarin. I have a question about ListView in Xamarin form.
  How do I know which row or index everytime I tab (or select) in the listView? Below is the code I tried, but e.SelectedItem does not show anything. Thanks for helping.</p>
  
  <pre><code>listView.ItemSelected += async (sender, e) =&gt; {
  
      if (e.SelectedItem == null) return; // don't do anything if we just de-selected the row
  
      await DisplayAlert("Tapped", e.SelectedItem + " row was selected", "OK");
  
      ((ListView)sender).SelectedItem = null; // de-select the row
  };
  </code></pre>