-
Notifications
You must be signed in to change notification settings - Fork 810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FragmentPagerAdapter-java.lang.IllegalStateException: Fragment already added #34
Comments
I am so sorry, It's my careless... in instantiateItem must return obj. @OverRide |
Hi, public class MyPagerAdapter extends FragmentPagerAdapter {
} and i am calling it as: vpage = (JazzyViewPager) findViewById(R.id.jazzy_pager); But i am getting following error: can u please please help me... 10-16 22:02:56.571: E/AndroidRuntime(29181): FATAL EXCEPTION: main |
Try change FragmentPagerAdapter source |
FragmentStatePageradapter |
Hi Jeremy Feinstein, I am trying to use your JazzyViewPager with a FragmentPagerAdapter,but it occur a
java.lang.IllegalStateException: Fragment already added: HomeFragment{40f97560 #0 id=0x7f040012 android:switcher:2130968594:0}
here is my code:
final class FMPagerAdapter extends FragmentPagerAdapter {
and if i don't overwrite instantiateItem method ,it works well ,but have no TransitionEffect..
The text was updated successfully, but these errors were encountered: