Scrollview and touch listener


April 2019


1.2k time


I am facing a problem.

I have a ScrollView in my application and I have to drag and drop a TextView with the help of a touch listener.

The problem is when I drag a TextView using the onTouchListener(), the ScrollView activates and is creating a problem.

1 answers


There is a open source project on github released by the CommonsGuy. It's based on the drag-and-drop used by the music app. There is also another drag and drop example here.