Filtered ListView onItemClick returns Item at original position
Thanks for replying all but I found the problem.
I hope this helps another person. With something this basic, it sometimes gets hard to find the error and we resort to much complicated ways!
To start my new activity, I was taking the item position from the custom Adaptor without overriding the getItem() function.
Object obj = myListAdapter.getItem(position);
I overrid the function
@Override
public Object getItem(int position) {
return myList.get(position);
}
and voila! got the right Activity opening. (facepalm i know..) Thanks for your answers anyway!