Vote count:
0
In my ListView, I want the first item to have a special style, while the other items have the regular layout called by the adapter:
myAdapt = new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_multiple_choice, list);
// Set Appearance of item 1 here
//
myListView.setAdapter(myAdapt);
Is there a way to do that? The item cannot be added via a TextView using the addHeaderView
method because I might have to delete it at some point, which the adapter will not let me do (if there's actually a way to do that, shoot!).
asked 50 secs ago
Aucun commentaire:
Enregistrer un commentaire