I have a ListView that I'm using for some different adapters, is this right to use following code for removing my ListView adapter and clear the ListView ?
list.setAdapter(new ArrayAdapter<Void>(mContext, 0, new Void[]{}));
What is your offer? and what is the best way?
Code has been updated