我的Activity继承于BaseBindingActivity,但是当我调用如下方法时,抛出The specified child already has a parent. You must call removeView() on the child's parent first.错误,请问有什么解决方案吗?
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setHeaders(HeadViewDelegate(),HeadViewDelegate())
}
我的
Activity
继承于BaseBindingActivity
,但是当我调用如下方法时,抛出The specified child already has a parent. You must call removeView() on the child's parent first.
错误,请问有什么解决方案吗?