Get item ID for selected item in list view