1

How to scroll gridview to position?

view story
linux-howto

http://stackoverflow.com – I have 30 images on grid view (3 images per row). If user select 20th image and go to next screen and come back then I want to focus to that position. I used following line to code, it works for first 8 rows but in last 2 row it is not scrolling. Please help. gridview.setSelection(position); gridview.requestFocusFromTouch(); gridview.setSelection(position); Thanks (HowTos)