Hello guys
I have created one custom view that contains the horizontalscrollview. Now when i changes the orientation its scroll state change to 0 every time.
I got the previous scroll state by using onSaveInstanceState(Bundle savedInstanceState)
and onRestoreInstanceState(Bundle savedInstanceState)
. in onRestoreInstanceState
i am using following method to get reposition the scroll,
hoz_scroll.scrollTo(hoz_x_pos, hoz_scroll.getScrollY());
But there is not effect at all. Help appreciated. Thanks.