I use a ListView in my layout like this:
ListView
Nothing of the solutions actually worked for me. My listview is for listing the searched items and has a provision to redo the search. On getting the result I added the following code snippet and it worked :)
myAdapter.setSelectedIndex(-1);