关于一个addview 开发问题的小计

最近开发通过addView 去动态加载 View的时候报了一个错 代码是这样写的,结果报了异常 The specified child already has a parent. You must call removeView() on the child's parent first. 意思就是这个子view 已经有一个parent了,你需要先在这个子view的parent先将其移除才可以 然
相关文章
相关标签/搜索