问题
In my app, when a user types something in a search box then a list gets filtered but the position of the list items gets changed. And due to this changed position when the user clicks on a list item, it results in unwanted activity. Because I have set events to the list items according to their position. Is there any parameter of the list items/row which remains same even after getting the list filtered?
来源:https://stackoverflow.com/questions/9605066/how-to-get-correct-position-after-filtering-the-listview-in-android-application