The same issue.
The only one solution I know: *override *destroyItem() call inside your
FragmentPagerAdapter class so it has no super.destroyItem() call.
E.g.
public class DashboardPagerAdapter extends FragmentPagerAdapter{
...
// hack. we don't want to destroy our fragments and re-initiate
OK, I've made it. But still can't understand why it works in this way:
mMessageList.addAll(result);
mMessageArrayAdapter.notifyDataSetChanged();
mMessageListView.clearFocus();
mMessageListView.post(new Runnable() {
Please, could you or someone provide a sample of code? I'm facing the same
problem and can't understand clearly how to avoid it. Thanks!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developer
3 matches
Mail list logo