Hi guys, Let's say i have a ListView with the text filter enabled, and an OnItemClickListener, how can i find out which item from my initial list was selected? For example: listView.setOnItemClickListener(new OnItemClickListener(){ public void onItemClick(AdapterView <?> parent, View v, int position, long id){ // here the position of an item which in the initial list was the 4th is 0, // because now it is the first one in the list // the question is how do i find out the idx of this item in the initial list? } });
Thanks, Ciprian. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---