Hi there,

I did not change the *tags* of the fragment. I made the id of the View 
which contains the ViewPager unique. The FragmentPagerAdapter creates the 
tags for the fragments based on the id of the View which contains the 
ViewPager, see: 
http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.0.1_r1/android/support/v4/app/FragmentPagerAdapter.java#FragmentPagerAdapter.makeFragmentName%28int%2Cint%29
.

What exactly is your problem?

-- 
Best regards,
Jethro

Try out my AdMob HD client: 
https://play.google.com/store/apps/details?id=nl.jborsje.android.admobster

Op vrijdag 28 september 2012 12:19:26 UTC+2 schreef Cel het volgende:
>
> thanks for posting the answer! i have a similar problem, but im not sure 
> how exactly did you change the id of the fragments? i.e. with ViewPager we 
> do not add the fragments ourselves so cannot assign the tag there, and the 
> fragments are instantiated in code, so cannot set the id in xml?
>
> ta!
>

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