daimajia / AndroidSwipeLayout

The Most Powerful Swipe Layout!
MIT License
12.38k stars 2.67k forks source link

Don't work with Android Data binding #415

Open EduardDenisjonoks opened 7 years ago

EduardDenisjonoks commented 7 years ago

java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first. Getting this error when "SwipeLayout" is added to layout

tuan4b6k commented 7 years ago

have you resolved problem ? i got this error , too

EduardDenisjonoks commented 7 years ago

tuan4b6k I can't remember what was cause of this issue. But from that I can see I did simplify a bit my UI and moved on click listener on actual views in xml instead of trying set it to back/surface view using swipe layout. Hope it helps, as DB works with this library