關於一個addview 開發問題的小計

最近開發通過addView 去動態加載 View的時候報了一個錯 代碼是這樣寫的,結果報了異常 The specified child already has a parent. You must call removeView() on the child's parent first. 意思就是這個子view 已經有一個parent了,你需要先在這個子view的parent先將其移除纔可以 然
相關文章
相關標籤/搜索