java.lang.IllegalStateException: Can't change tag of fragment

后端 未结 6 1165
情书的邮戳
情书的邮戳 2020-12-05 07:39

Hi i am getting this error while using a pageViwer and Adapter to slide across 3 fragments.

here is my pageAdapter

public class FreedomPageAdapter ex         


        
6条回答
  •  温柔的废话
    2020-12-05 08:07

    In my case It was due to returning some null fragment, which was not handled in the getItem(position) function. Hope it helps someone.

提交回复
热议问题