[Android] Fix desync issue for the FastScroller in the AudioAlbumsSongsFragment.

Nicolas Pomepuy git at videolan.org
Thu Feb 14 14:15:51 CET 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Feb 14 10:05:18 2019 +0100| [9efb4bb8175b33483f4ff5742d4562fe3936bdf5] | committer: Geoffrey Métais

Fix desync issue for the FastScroller in the AudioAlbumsSongsFragment.

> https://code.videolan.org/videolan/vlc-android/commit/9efb4bb8175b33483f4ff5742d4562fe3936bdf5
---

 .../src/org/videolan/vlc/gui/audio/AudioAlbumsSongsFragment.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumsSongsFragment.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumsSongsFragment.java
index e1d85bf21..8194aedcb 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumsSongsFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumsSongsFragment.java
@@ -240,7 +240,7 @@ public class AudioAlbumsSongsFragment extends BaseAudioBrowser implements SwipeR
     @Override
     public void onTabSelected(TabLayout.Tab tab) {
         super.onTabSelected(tab);
-        mFastScroller.setRecyclerView(getCurrentRV(), getViewModel());
+        mFastScroller.setRecyclerView(mLists[tab.getPosition()], audioModels[tab.getPosition()]);
     }
 
     @Override



More information about the Android mailing list