title: Get Selected Item Details
body: <p>I am using the <code>sap.m.ObjectListItem</code> as my list items to which I have bound JSON data from an API. However, I can't find a way to get the selected item from the list when I press on an item. Even getting the key of that item would be helpful.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;List id="ObjectList"
    itemPress=".onPressDcData"
    items="{DC&gt;/}"
  &gt;
    &lt;ObjectListItem
      type="Active"
      title="{DC&gt;Name}"
    /&gt;
  &lt;/List&gt;
  </code></pre>