<recyclerview Drag and drop to different View> I h...
# stackoverflow
u
recyclerview Drag and drop to different View I have a recyclerview in my project, where a user will be able to drag and drop it to a different view(card view). I am following mvvm pattern and using dataBinding. I use the longclick function from within the activity,i created an interface in adapter class for this. inorder to use the drag and drop i need to get the adapter position of the item in activity, which i am unable to get. here is the adapter class class StatementAdapter( private val context: Context, private val...