[Android] Rename playlist_activity to header_media_list_activity
Duncan McNamara
git at videolan.org
Thu Jun 16 13:27:01 UTC 2022
vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Thu Jun 16 14:24:29 2022 +0200| [4e80138fa4389974c422af28db82cf55cd8ed3ae] | committer: Nicolas Pomepuy
Rename playlist_activity to header_media_list_activity
> https://code.videolan.org/videolan/vlc-android/commit/4e80138fa4389974c422af28db82cf55cd8ed3ae
---
.../{playlist_activity.xml => header_media_list_activity.xml} | 0
.../src/org/videolan/vlc/gui/HeaderMediaListActivity.kt | 8 ++++----
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/application/vlc-android/res/layout/playlist_activity.xml b/application/vlc-android/res/layout/header_media_list_activity.xml
similarity index 100%
rename from application/vlc-android/res/layout/playlist_activity.xml
rename to application/vlc-android/res/layout/header_media_list_activity.xml
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/HeaderMediaListActivity.kt b/application/vlc-android/src/org/videolan/vlc/gui/HeaderMediaListActivity.kt
index 2943129c7..7e5f73d97 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/HeaderMediaListActivity.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/HeaderMediaListActivity.kt
@@ -1,6 +1,6 @@
/*
* *************************************************************************
- * PlaylistActivity.java
+ * HeaderMediaListActivity.kt
* **************************************************************************
* Copyright © 2017 VLC authors and VideoLAN
* Author: Geoffrey Métais
@@ -54,7 +54,7 @@ import org.videolan.tools.copy
import org.videolan.tools.isStarted
import org.videolan.vlc.BuildConfig
import org.videolan.vlc.R
-import org.videolan.vlc.databinding.PlaylistActivityBinding
+import org.videolan.vlc.databinding.HeaderMediaListActivityBinding
import org.videolan.vlc.gui.audio.AudioAlbumTracksAdapter
import org.videolan.vlc.gui.audio.AudioBrowserAdapter
import org.videolan.vlc.gui.audio.AudioBrowserFragment
@@ -84,7 +84,7 @@ open class HeaderMediaListActivity : AudioPlayerContainerActivity(), IEventsHand
private lateinit var itemTouchHelperCallback: SwipeDragItemTouchHelperCallback
private lateinit var audioBrowserAdapter: AudioBrowserAdapter
private val mediaLibrary = Medialibrary.getInstance()
- private lateinit var binding: PlaylistActivityBinding
+ private lateinit var binding: HeaderMediaListActivityBinding
private var actionMode: ActionMode? = null
private var isPlaylist: Boolean = false
private lateinit var viewModel: PlaylistViewModel
@@ -94,7 +94,7 @@ open class HeaderMediaListActivity : AudioPlayerContainerActivity(), IEventsHand
public override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
- binding = DataBindingUtil.setContentView(this, R.layout.playlist_activity)
+ binding = DataBindingUtil.setContentView(this, R.layout.header_media_list_activity)
initAudioPlayerContainerActivity()
fragmentContainer = binding.songs
More information about the Android
mailing list