I currently have a grid nxn which moves through some buttons which I press can be from 1 to 10 (it's an example) every 1 represents a position in the grid when he changes from 1 to 2 or to 3 he will have to smoothScrollToPositionFromTop medium go in 3 milliseconds and in animation is why I do not use another function I require the duration it has.
The problem with the smoothScrollToPositionFromTop method is that when going to the position of the new element on some occasions or it is short or it is passed of the screen and the user has to look for the point in the grid if someone can help me serious help.
gridview.smoothScrollToPositionFromTop(position ,0,3);
The variable position is the one assigned to the button.