I have a listview and take TextView as the list-item,now I need the first item's state to be selected when the listview has been initiated. In other words , i have giv开发者_高级运维e the TextView a selector drawable , so i want the item to be selected when it first shows in the list.
I wonder if i have made it clear.
Hope your help coming soon.
Thanks first!
PS: I add the list items by my own adapter extending from SimpleAdapter.
Either setSelection or singleChoiceList is your answer.
加载中,请稍侯......
精彩评论