java.lang.IllegalStateException

FATAL EXCEPTION: main
Process: org.moneybooks, PID: 20784
java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.

 

记得检查

View v=inflater.inflate(R.layout.fragment_mine,null);  正确
View v=inflater.inflate(R.layout.fragment_mine,container);出错
fragment里面已有父View
posted @ 2017-04-14 20:41  深夜里  阅读(188)  评论(0编辑  收藏  举报