Fixing the listview sample