getting the visible item in an horizontal listview android -


i have horizontal scrollable list view. need find index of first visible position in it...in cas eof vertical listviews there method onscroll(abslistview view, int firstvisibleitem, int visibleitemcount, int totalitemcount) this...can guide me horizontal list view

you can use listview.getfirstvisibleposition(); method this. return index (= position) of item. index can find item using listview.get(index);


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -