I am using an Adapter
:
final ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_1, android.R.id.text1);
and I want to shuffle the contents of it, however I discovered that Collections.shuffle(adapter);
does not work. Is there another method to do this? While keeping the format of adapter
i.e. not changing it to a List