IllegalStateException: The specified child already has a parent問題解決辦法

最近遇到一個很讓人頭疼的問題,使用viewpager動態添加頁面或者刪除頁面時出現了問題(java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first),在stackoverflow上找到了解決辦法。(
相關文章
相關標籤/搜索