@ -38,10 +39,8 @@ class PlaylistTracksAdapter(private val context: Context?, private val favoriteL
@@ -38,10 +39,8 @@ class PlaylistTracksAdapter(private val context: Context?, private val favoriteL
@ -96,7 +95,7 @@ class PlaylistTracksAdapter(private val context: Context?, private val favoriteL
@@ -96,7 +95,7 @@ class PlaylistTracksAdapter(private val context: Context?, private val favoriteL
@ -116,16 +115,14 @@ class PlaylistTracksAdapter(private val context: Context?, private val favoriteL
@@ -116,16 +115,14 @@ class PlaylistTracksAdapter(private val context: Context?, private val favoriteL
}
}
if(fromQueue){
holder.handle.visibility=View.VISIBLE
holder.handle.setOnTouchListener{_,event->
if(event.actionMasked==MotionEvent.ACTION_DOWN){
touchHelper.startDrag(holder)
}
holder.handle.visibility=View.VISIBLE
true
holder.handle.setOnTouchListener{_,event->
if(event.actionMasked==MotionEvent.ACTION_DOWN){
touchHelper.startDrag(holder)
}
true
}
}
@ -135,13 +132,12 @@ class PlaylistTracksAdapter(private val context: Context?, private val favoriteL
@@ -135,13 +132,12 @@ class PlaylistTracksAdapter(private val context: Context?, private val favoriteL
@ -154,20 +150,18 @@ class PlaylistTracksAdapter(private val context: Context?, private val favoriteL
@@ -154,20 +150,18 @@ class PlaylistTracksAdapter(private val context: Context?, private val favoriteL
@ -176,6 +170,9 @@ class PlaylistTracksAdapter(private val context: Context?, private val favoriteL
@@ -176,6 +170,9 @@ class PlaylistTracksAdapter(private val context: Context?, private val favoriteL
@ -194,6 +191,13 @@ class PlaylistTracksAdapter(private val context: Context?, private val favoriteL
@@ -194,6 +191,13 @@ class PlaylistTracksAdapter(private val context: Context?, private val favoriteL
@ -146,7 +146,7 @@ class TracksAdapter(private val context: Context?, private val favoriteListener:
@@ -146,7 +146,7 @@ class TracksAdapter(private val context: Context?, private val favoriteListener: