Saturday, September 29, 2012

Re: [android-developers] Re: Fragment Transactions

Thanks Blake. The RouteCategoryFragment is not a splash screen. There is a separate splash screen activity with a button. Clicking that button launches another activity which has the RouteCategoryFragment. Please let me know what I need to do replace fragment and add it to backstack.

Thanks

Apurva

On Fri, Sep 28, 2012 at 11:53 AM, G. Blake Meike <blake.meike@gmail.com> wrote:
I think you've misunderstood the use of the Fragment Tag.  It looks like RouteCategoryFragment is the splash screen, yes?  When someone clicks you want to replace it with a CountyListFragment?  If so you need to use the same tag (probably COUNTY_TAG).  That is the unique identifier for the fragment.

G. Blake Meike
Marakana

The second edition of Programming Android is now on-line:

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment