views:

79

answers:

1

When my app loads, I want the first item in the listview to already be selected. how can I do this?

A: 

in your list view activity

getListView().setSelection(0);
schwiz
I did listView.setSelection(0) but that didn't select my item.
Sheehan Alam
This particular step did not work for me! How come the answer is marked as correct if it did not work for you either?
kiki