[android-developers] Re: allowTaskReparenting=true. Will there be a single instance of the activity ?

2009-10-07 Thread Amitkeerti
hi Dianne, Thanks for the reply. One small clarification. From your response I understand the following: If the activity instance was created in a task for which it did not have an affinity and lets assume that this task goes in the background. After some time when the task comes back in the

[android-developers] Re: allowTaskReparenting=true. Will there be a single instance of the activity ?

2009-10-07 Thread Dianne Hackborn
On Wed, Oct 7, 2009 at 2:00 AM, Amitkeerti amitkee...@gmail.com wrote: From your response I understand the following: If the activity instance was created in a task for which it did not have an affinity and lets assume that this task goes in the background. After some time when the task comes

[android-developers] Re: allowTaskReparenting=true. Will there be a single instance of the activity ?

2009-10-06 Thread Amitkeerti
hi, can anybody help with the query. Basically the query is, if I make allowTaskReparenting to true, will there be a single instance of the activity that gets re-parented from one task to another ? From developer.android.com, i gather, If an activity has its

[android-developers] Re: allowTaskReparenting=true. Will there be a single instance of the activity ?

2009-10-06 Thread Dianne Hackborn
On Tue, Oct 6, 2009 at 8:42 PM, Amitkeerti amitkee...@gmail.com wrote: Basically the query is, if I make allowTaskReparenting to true, will there be a single instance of the activity that gets re-parented from one task to another ? No. New instances will be created as needed, like usual.