but showDialog is deprecated.

On Tuesday, November 27, 2012 9:43:50 AM UTC+5:30, William Ferguson wrote:
>
> It is being dismissed because during rotation your Activity is being 
> destroyed and recreated and hence the Context for your dialog gets 
> destroyed.
>
> If you would like your dialog to be recreated after rotation use 
> Activity#showDialog(dialogId) instead, as this will automatically take care 
> of reconstruction of the dialog.
>
> William
>
> On Tuesday, November 27, 2012 1:36:23 PM UTC+10, monty wrote:
>>
>> Hello,
>>          i am using android annotation , in my app i am using progress 
>> dialog but after rotation the screen it dismiss(why).
>>
>

-- 
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

Reply via email to