You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the LinearLayout has animateLayoutChanges set to true, dragging a child view causes
java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
at android.view.ViewGroup.addViewInner(ViewGroup.java:3880)
at android.view.ViewGroup.addView(ViewGroup.java:3733)
at android.view.ViewGroup.addView(ViewGroup.java:3678)
at com.jmedeisis.draglinearlayout.DragLinearLayout.onDrag(DragLinearLayout.java:442)
at com.jmedeisis.draglinearlayout.DragLinearLayout.onTouchEvent(DragLinearLayout.java:661)
I tested this in an empty test project with simple TextViews as the children, to make sure there is nothing else causing it.
For now I think you should add to the "limitations" section that it will not work with animateLayoutChanges
The text was updated successfully, but these errors were encountered:
If the LinearLayout has
animateLayoutChanges
set to true, dragging a child view causesI tested this in an empty test project with simple TextViews as the children, to make sure there is nothing else causing it.
For now I think you should add to the "limitations" section that it will not work with
animateLayoutChanges
The text was updated successfully, but these errors were encountered: