currently i am designing an application in which i have a list and alphabetic scrollbar for the list. To load the data in list, i am calling a method in onCreate and also calling one method to build the alphabetic scrollbar for the list. now my problem is that when i am changing the orientation , the onCreate method is calling again due to which both inside methods are also calling again. but i dont want to call the method that is loading the data into list again . means the method which is loading data should not be called again when changing orientation while the method which is building the scrollbar should be called again.
plz tell me how i can do that.
thanks in advance