Commit df3d9428 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Fix scrolling issue in info activity

Fixes #1576
Fixes #1577
parent c2558919
Pipeline #48063 passed with stage
in 5 minutes and 8 seconds
......@@ -347,7 +347,7 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/list"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_height="wrap_content"
vlc:layout_constraintTop_toBottomOf="@+id/extra_icon"
vlc:layout_constraintStart_toStartOf="parent"
vlc:layout_constraintEnd_toEndOf="parent"
......
......@@ -100,6 +100,7 @@ class InfoActivity : AudioPlayerContainerActivity(), View.OnClickListener, PathA
adapter = MediaInfoAdapter()
binding.list.layoutManager = LinearLayoutManager(binding.root.context)
binding.list.adapter = adapter
binding.list.isNestedScrollingEnabled = false
if (model.sizeText.value === null) model.checkFile(item)
if (model.mediaTracks.value === null) model.parseTracks(this, item)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment