listview - What is the first Listitem being shown on screen in android. -


i have listview having many of list items. when app launches, first item item becomes top/first element see on screen. when scroll-down, of lower list-item becomes first see on screen. there anyway find element on top of screen @ moment.
enter image description here enter image description here

may should try use getfirstvisibleposition() method of listview. returns number of first visible item. number can first. note considers partially hidden items visible.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -