02_对话框报错

2019-07-11  本文已影响0人  lww文

The specified child already has a parent. You must call removeView() on the child's parent first.

可以在对话框 消失的时候 使用

((ViewGroup)view.getParent()).removeView(view);

上一篇 下一篇

猜你喜欢

热点阅读