IllegalStateException: Fragment already added in the tabhost fragment

后端 未结 11 1180
暗喜
暗喜 2020-12-04 14:07
FATAL EXCEPTION: main
Process: com.example.loan, PID: 24169
java.lang.IllegalStateException: Fragment already added: FormFragment{428f10c8 #1 id=0x7f050055 form}
            


        
11条回答
  •  情书的邮戳
    2020-12-04 14:48

    Sometimes it happens for not finding proper id from the respective layout. I faced this problem. Then after many hours I found that I set wrong recyclerview id. I change it, and works fine for me.

    So, double check your fragment layout.

提交回复
热议问题