Closed RowlandOti closed 6 years ago
No response thus far, so I had to resolve it myself. It seems the library is no longer maintained - I could help if the response is given. For anyone landing here, I solved it by using:
draggableViewContent.removeAllViews();
ViewGroup parent = (ViewGroup) viewHolder.itemView.getParent();
if (parent != null) {
parent.removeView(viewHolder.itemView);
}
draggableViewContent.addView(viewHolder.itemView);
Whenever the user selects images and adds them to the ViewHolder, the app keeps crashing with the following stack trace:
My code is very basic, and yet the solution to this bug evades me. see the code below:
I think there is a bug with the library. Could you have sone thoughts?