I have an application which lists some states (e.g Assam, Andhra, Pradesh etc). When a state is selected, the next view show hospitals located in that particular state in a table view. The hospital names are loaded from a database using web service. This is done so far, no worries.
My problem is: Suppose I have listed hospitals for a state. I go back and select the same state again, the web service is called again and user has to wait for the data. So this is not a good idea. I don't want to call the web service again if I select the same state. How to store data and display it if state selection is same?