Is it possible to select a custom list view item with its list item id instead of list item position in android?
<p>Is it possible to get the list item's id instead of getting the list item through its position? because the problem i face is: I use custom listview. I sort the list items on button click. After the list items are sorted in new order, if i click first item, the list item selected of the original item before sorting. also i use database to fetch the list item click. I match the database id with the list item position selected. How to solve it? any help is highly appreciated and thanks in advance...</p>
