How to Clear The Previous Gridview Item and refill with new adapter in android?

view story

http://stackoverflow.com – how to clear the gridview when i request for another adapter if i use the lazy adapter here i put my code for gridview activity and lazyadapter i m use the asynctask for gridview items here i put my code for gridview Gridview Activity.java public class VisitorActivity extends Activity implements OnClickListener{ { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); new visitormiddlelistasyntask.execute(""); } public class VisitorMiddleListAsyncTask extends AsyncTask<String,ArrayList<HashMap<String, (HowTos)