diff --git a/app/src/main/java/com/github/libretube/ui/adapters/PlayingQueueAdapter.kt b/app/src/main/java/com/github/libretube/ui/adapters/PlayingQueueAdapter.kt new file mode 100644 index 000000000..fe5c96302 --- /dev/null +++ b/app/src/main/java/com/github/libretube/ui/adapters/PlayingQueueAdapter.kt @@ -0,0 +1,7 @@ +package com.github.libretube.ui.adapters + +import androidx.recyclerview.widget.RecyclerView +import com.github.libretube.ui.viewholders.PlayingQueueViewHolder + +class PlayingQueueAdapter: RecyclerView.Adapter { +} \ No newline at end of file diff --git a/app/src/main/java/com/github/libretube/ui/sheets/PlayingQueueSheet.kt b/app/src/main/java/com/github/libretube/ui/sheets/PlayingQueueSheet.kt new file mode 100644 index 000000000..e65fd3a2a --- /dev/null +++ b/app/src/main/java/com/github/libretube/ui/sheets/PlayingQueueSheet.kt @@ -0,0 +1,27 @@ +package com.github.libretube.ui.sheets + +import android.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import com.github.libretube.databinding.BottomSheetBinding +import com.google.android.material.bottomsheet.BottomSheetDialogFragment + +class PlayingQueueSheet: BottomSheetDialogFragment() { + private lateinit var binding: BottomSheetBinding + + override fun onCreateView( + inflater: LayoutInflater, + container: ViewGroup?, + savedInstanceState: Bundle? + ): View { + binding = BottomSheetBinding.inflate(layoutInflater) + return binding.root + } + + override fun onViewCreated(view: View, savedInstanceState: Bundle?) { + super.onViewCreated(view, savedInstanceState) + + + } +} diff --git a/app/src/main/java/com/github/libretube/ui/viewholders/PlayingQueueViewHolder.kt b/app/src/main/java/com/github/libretube/ui/viewholders/PlayingQueueViewHolder.kt new file mode 100644 index 000000000..9fe6f200d --- /dev/null +++ b/app/src/main/java/com/github/libretube/ui/viewholders/PlayingQueueViewHolder.kt @@ -0,0 +1,8 @@ +package com.github.libretube.ui.viewholders + +import androidx.recyclerview.widget.RecyclerView +import com.github.libretube.databinding.QueueRowBinding + +class PlayingQueueViewHolder( + val binding: QueueRowBinding +) : RecyclerView.ViewHolder(binding.root) diff --git a/app/src/main/res/layout/queue_row.xml b/app/src/main/res/layout/queue_row.xml new file mode 100644 index 000000000..cab788305 --- /dev/null +++ b/app/src/main/res/layout/queue_row.xml @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file