I have an application where I have one edittext. And also I have one listview that is populated with 100 items and can show only 5 items at a time. I enter a number (n) in th开发者_JAVA百科e Edittext and I want listview to jump to the n th item of the list view and that n th item should come at the top of the viewable area (the one that shows 5 listview items). Can you please tell me how this can be achieved..
A call to setSelection(position) should do the trick.
精彩评论