I had the same trouble and fixed it by a workaround: I check the
fragments are loaded and only store those on the Bundle. From time to
time it fires an Exception but it works anyway.
@Override
protected void onSaveInstanceState(Bundle instanceStateToSave) {
There's a solution in stackoverflow:
http://stackoverflow.com/questions/11296411/fragmentstatepageradapter-illegalstateexception-myfragment-is-not-currently
but it doesn't seem to be helping me, since I'm not instantiating my
fragments as he did, but maybe it'll help you.
I'm still looking for
Someone please?
On Sunday, June 3, 2012 10:50:33 AM UTC+3, Alexandros wrote:
Hello everyone,
Some time ago, I updated my application to use the support v4 library in
order to use the ViewPager control. The initial version of the application
used the FragmentPagerAdapter, however, because
3 matches
Mail list logo