ensure visible on android listview?

后端 未结 5 1843
灰色年华
灰色年华 2020-12-10 10:57

Is there a way that I can makle sure a given item in an android listview is entirely visible?

I\'d like to be able to programmatically scroll to a specific item, lik

5条回答
  •  再見小時候
    2020-12-10 10:59

    I believe what you are looking for is ListView.setSelectionFromTop() (although I'm a bit late to the party).

提交回复
热议问题