You might want to check into Fragments.

http://developer.android.com/guide/topics/fundamentals/fragments.html

They are similar to Activities (very little work to swap an Activity to a 
Fragment) and you can manage the backstack.

Steven
Studio LFP
http://www.studio-lfp.com


On Thursday, November 3, 2011 4:35:35 AM UTC-5, Mat Jones wrote:
>
> Hello, 
>
> I am working on a security app which involves users storing passcodes, 
> docs etc.... 
>
> My app has around 10 activities representing screens (every screen is 
> a activity) 
>
> I have set android:noHistory="true" on all the activity's as I want to 
> manage what happens when they press the back key and also when the app 
> goes into the background I want the app to restart 
>
> As a result I am constructing alot of activity's e,g 
>
> Activity A goes to B 
> B wants to go to A, I create a new instance of A 
>
> Is there a major overhead of doing this? 
>
> Thanks 
>

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