On Wed, Feb 16, 2011 at 3:48 PM, Matt Quigley <[email protected]>wrote:

> This is not optimal; when switching back and forth between the
> tabs/activities, there is no good reason to destroy and re-create the
> activities.  (In the above example, the call log wouldn't be scrolled down
> to the same spot because it was destroyed and recreated)
>

When switching back and forth between activities, by default, they are not
destroyed and recreated - unless necessary.

If you are concerned with maintaining state (like a list view's scroll
position), you need to review the Activity Lifecycle.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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