[Android] Audio player: fix the playlist scrolling
Adrien Maglo
git at videolan.org
Fri Jan 24 18:56:21 CET 2014
vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Fri Jan 24 18:56:07 2014 +0100| [5710ae430675ac2f73c535d5bc0457af54e45148] | committer: Adrien Maglo
Audio player: fix the playlist scrolling
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=5710ae430675ac2f73c535d5bc0457af54e45148
---
vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistView.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistView.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistView.java
index 5e41c36..c4d4c3d 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistView.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistView.java
@@ -84,7 +84,7 @@ public class AudioPlaylistView extends ListView {
break;
}
- return mIsDragging;
+ return mIsDragging || super.onInterceptTouchEvent(event);
}
@Override
@@ -115,6 +115,7 @@ public class AudioPlaylistView extends ListView {
}
invalidate();
}
+
return handleEvent || super.onTouchEvent(event);
}
More information about the Android
mailing list