JingqiangCheng
Results
2
comments of
JingqiangCheng
现在我项目中都是用的这段代码 没出现java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first. 有可能是你的子View没有移除干净导致的 你在检查下
或者调用的时候直接判断containerView有没有子View 如果有调用)containerView.removeAllViews();应该也是可以的