3/ In your code you re-add the Fragment to the container even if it was 
> found.  It doesn't do harm, but this is unnecessary because the framework 
> already does it for you. The FragmentTransaction should be inside the if.
>

You are right, the fragment needs to be added to the container only the 
first time. Fixed in my code. 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