listview default from the tenth starting to show, when to pull back, and then show up before ten, how do
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
There are two ways
ListViewThe first setSelection (int position) Set the selected data index
The second setSelectionAfterHeaderView () to the current selected as the first line of the title bar to display
I did not try, I feel the problem is not that the start position is selected, the egg slightly hurt
Reply:
Android Learning Series (30) - the drop-down list of Refresh App
This meets the needs of the landlord.
Reply:
Reply:
ListView.setSelectionFromTop (10, 0);
This method is listview in section 10 (possibly 11) an item to the top of the list of distance, in fact, list item 10 from the beginning to show
No comments:
Post a Comment