1

alternative setSelection(int) or how more accurately set scroll position

view story
linux-howto

http://stackoverflow.com – I have two grid view, I need synchronize it, when I scrolling one, second must scrolling the same. I did so: gvMain1.setOnScrollListener(new OnScrollListener(){ @Override public void onScroll(AbsListView arg0, int arg1, int arg2, int arg3) { gvMain2.setSelection(arg1); } @Override public void onScrollStateChanged(AbsListView arg0, int arg1) {} }); But when I scrolling, I get delta near one row difference in height, I think it because first grid move, but not enough for switch ti next position. How can I fix it? (HowTos)