I have selection set to single on the listview. On an action event on a given row of the listview, the iterator binding of the rows iterator are cleared by calling clearForRecreate(). After this the selection defaults to the first row of the listview.
In order maintain the selection I tried retrieving the RowKeySet from the listView and then set it using the call setSelectedRowKeys(rowKetSet). This did not help in maintaining the state.