Im having a bit of trouble trying to get the position of an item in a ListView when its tapped.
Heres my code:
public MainPage() { InitializeComp
In SelectedItem event try this:
var index = (myListView.ItemsSource as List<MyObject>).IndexOf (e.SelectedItem as MyObject);
While adding items in listView , you can set styleId of that item . in ItemTapped body you will have access to that item thereby access to styleId of that item .