viewpager+fragment时使用startactivity报错

错误:

04-16 15:21:15.159: E/AndroidRuntime(19365): at android.support.v4.app.FragmentManagerImpl.saveFragmentBasicState(FragmentManager.java:1576)

解决:

I've stumbled upon the same problem while using ActionBarSherlock compatibility library. The workaround is that your adapter extends FragmentStatePagerAdapter instead of FragmentPagerAdapter

你可能感兴趣的:(viewpager+fragment时使用startactivity报错)