I know that any changes made to a view during runtime are not saved by default of screen rotation. So I persist all changes made to my custom listview row in onSaveInstanceState and restore them back in onRestoreInstanceState. But these methods are not being called at all on screen rotation.
Now I know that views need to have an ID assigned to be persisted across screen rotation. But ListView rows are created programmatically in getView method of adapter. Does this mean that I need to call setId in getView?
 
     
     
    