2

当我的应用程序加载时,我希望列表视图中的第一个项目已经被选中。我怎样才能做到这一点?

4

1 回答 1

-3

在您的列表视图活动中

getListView().setSelection(0);
于 2010-09-03T07:12:05.880 回答