IllegalStateException: The application's PagerAdapter changed the adapter's content without calling PagerAdapter#notifyDataSetChanged

前端 未结 10 2091
感情败类
感情败类 2020-11-29 06:52

I\'m using the ViewPager example with ActionBar tabs taken from the Android documentation here.

Unfortunately, as soon as I call the

10条回答
  •  情歌与酒
    2020-11-29 07:55

    One more thing to be check here is the adapter for which it gives this error check source list is getting reference from other list or not.

    It is possible that your adapter list is referenced from other list and in that list got update and added some items.

提交回复
热议问题