https://kotlinlang.org logo
Title
u

user

06/23/2022, 10:31 AM
androidx.recyclerview.widget.RecyclerView cannot be cast to androidx.cardview.widget.CardView - Drag and drop I am trying to build a drag and drop activity, where user can drag an item from Recyclerview to a card view, i am following android's drag and drop documentation, the dragging is working fine, have shadows, but when i drop the item to one of the cardviews, it throwing the error,androidx.recyclerview.widget.RecyclerView cannot be cast to androidx.cardview.widget.CardView i have worked it in the past, but it was dragging item from textView to ConstraintLayout. <a...