[Android] Audio: sort current tab only
Geoffrey Métais
git at videolan.org
Tue May 21 18:10:05 CEST 2019
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue May 21 18:09:14 2019 +0200| [b1bccf45ad5c19883432316d1c24cc48f335e8d2] | committer: Geoffrey Métais
Audio: sort current tab only
> https://code.videolan.org/videolan/vlc-android/commit/b1bccf45ad5c19883432316d1c24cc48f335e8d2
---
vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.kt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.kt b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.kt
index 5d6cc6a14..4637bf44b 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.kt
@@ -204,6 +204,10 @@ class AudioBrowserFragment : BaseAudioBrowser<AudioBrowserViewModel>(), SwipeRef
sortMenuTitles()
}
+ override fun sortBy(sort: Int) {
+ viewModel.providers[currentTab].sort(sort)
+ }
+
override fun onFabPlayClick(view: View) {
MediaUtils.playAll(view.context, viewModel.tracksProvider, 0, true)
}
More information about the Android
mailing list