Get context of a tapped list item in Nativescript
<p>Is it possible to get the context of a tapped item in a listview? For example if I have a list of three items how can I tell that it was the second item clicked and get the data from the object that relates to that item in the observable array?</p>

<p>EX: Here is my list template, if the user tapped the second connection in the list of connections, how could I get the data associated with that connection based off the clicked items index?</p>

<pre><code>  &lt;ListView items="{{ connections }}"  loaded="" itemLoading="" itemTap=""&gt;
      &lt;ListView.itemTemplate&gt;
          &lt;StackLayout class='connection-li'&gt;
                &lt;GridLayout class="connection-info" rows="" columns="auto, *, *" tap="goToMeasurements"&gt;
                    &lt;Image col="0" src="res://ic_person_black_36dp" stretch ="none" /&gt;                        
                    &lt;Label col="1" class="connection-name" text="{{ PatientFirstName + ' ' + PatientLastName }}" textWrap="false" /&gt;
                    &lt;Image col="2" verticalAlignment="middle" horizontalAlignment="right" src="res://ic_cancel_black_18dp" stretch ="none" /&gt;                        
                &lt;/GridLayout&gt;                                                       
          &lt;/StackLayout&gt;
      &lt;/ListView.itemTemplate&gt;
  &lt;/ListView&gt;
</code></pre>

<p>EDIT: 
Based off the docs I found the following event that I can hook into to get the index data, but  where it references ListView how can I make that a specific reference to the one I'm interested in, can I give it a class and access it that way?</p>

<pre><code>listView.on(listViewModule.ListView.itemTapEvent, function (args: listViewModule.ItemEventData) {
    var tappedItemIndex = args.index;
    var tappedItemView = args.view;
    //// Do someting
});
</code></pre>