[Android] Avoid conflicts between horizontal recycler views and vertical scroll

Nicolas Pomepuy git at videolan.org
Thu Apr 16 15:43:42 CEST 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Apr  8 14:11:00 2020 +0200| [23f19a49dc324a3d16a5900b7d6dd8114efc9cf2] | committer: Nicolas Pomepuy

Avoid conflicts between horizontal recycler views and vertical scroll

> https://code.videolan.org/videolan/vlc-android/commit/23f19a49dc324a3d16a5900b7d6dd8114efc9cf2
---

 application/vlc-android/src/org/videolan/vlc/gui/view/TitleListView.kt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/vlc-android/src/org/videolan/vlc/gui/view/TitleListView.kt b/application/vlc-android/src/org/videolan/vlc/gui/view/TitleListView.kt
index bec33bc5a..a8683ed57 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/view/TitleListView.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/view/TitleListView.kt
@@ -85,7 +85,7 @@ class TitleListView : ConstraintLayout {
                 actionButton.setOnClickListener {
                     actionClickListener?.let { listener -> listener(actionButton) }
                 }
-//                actionButton.icon.setImageDrawable(ContextCompat.getDrawable(context, R.drawable.icon))
+                list.isNestedScrollingEnabled = false
             } catch (e: Exception) {
                 Log.w("", e.message, e)
             } finally {



More information about the Android mailing list