Hi, I'm using showDialog() and onCreateDialog() methods for displaying Dialog and Progress Dialog.
But on orientation change it recreates the Dialog and Progress Dialog, due to which I'm facing the below problem: 1. Related to Progress Dialog: Current Behavior: I'm using Progress Dialog to send request to server, hence on orientation change it re-sends the request again to the server. Resulting in 2 responses, hence the resulting screen is created and populated twice. Excepted Behavior: It should send only one request irrespective of the number of times the orientation changes. The onCreateDialog method gets called every time orientation changes, how can this be prevented? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

