0

I want to do something in a listview as follows: In any row in the listView will be an image. This image can be moved by dragging them to other rows. For example: image position 3. Image dragged 4, 5 and 6 rows. I have to change the background color for 4, 5 and 6 position. How can I drag the image and how can I change the row background color?

realuser
  • 931
  • 2
  • 15
  • 26

1 Answers1

0

The above is a easy task. I have seen many links regarding this in stack overflow itself . I am adding stackoverflow link and github link(of the project).

GitHub

Project containing demo of drag and drop in the listview

stackoverflow link

android scroll while drag & drop

Android Reordering ListView items with drag and drop [duplicate]

drag and drop imageview android

Community
  • 1
  • 1
Balaji Sabdhar M
  • 418
  • 1
  • 6
  • 26