Android ListView scrolling -


i have android listview tall rows , vertical gallery of pictures. when fling view precisely stop @ start of each view. go on next view , stop betwen 2 views not effect want.

is there setting can use make happens?

setselectionfromtop(int position, int y) snap list position, selecting element @ position y , snapping list top of selected element y pixels top. provide need?

i haven't tested it, seems combined onscrollstatechanged or adapterview.onitemselectedlistener give scrolling, snapping listview.

i hope that's of use.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -