2Delete all listview rows android

view story

http://stackoverflow.com – I have successfully integrated a pulltorefresh listview to my actual code. However, when the list get updated it adds all the rows that exist to the end of the list. I come to the idea to clear all the list element before making the updates but i am stick on how to remove these rows inside the listview. The row item are cacheable element i think something like clear cache can work ? Any idea please. I want to get rid of the listview rows. <com.dmobile.pulltorefresh.PullRefreshContainerView android:id="@+id/container" android:layout_width="fill_parent" android:layout_height= (HowTos)