We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 23900de + 3b9565c commit 896ce9eCopy full SHA for 896ce9e
library/src/main/java/com/jmedeisis/draglinearlayout/DragLinearLayout.java
@@ -296,6 +296,12 @@ public void removeDragView(View child) {
296
}
297
298
299
+ @Override
300
+ public void removeAllViews() {
301
+ super.removeAllViews();
302
+ draggableChildren.clear();
303
+ }
304
+
305
/**
306
* If this layout is within a {@link android.widget.ScrollView}, register it here so that it
307
* can be scrolled during item drags.
@@ -726,4 +732,4 @@ private static Bitmap getBitmapFromView(View view) {
726
732
view.draw(canvas);
727
733
return bitmap;
728
734
729
-}
735
+}
0 commit comments