我想按升序列出我的清单,我该如何务实地做。我试过但没有成功。
CODE:
PhonebookAdapter adapter; // My Phonebook Adapter Class
final List<Phonebook> listOfPhonebook = new ArrayList<Phonebook>();
...
...
adapter = new PhonebookAdapter(this, listOfPhonebook);
list.setAdapter(adapter);