ui: create dedicated playback bar layout

Create a dedicated playback bar layout. This replaces the old janky
observer system with something that handles state better and is just
more elegant.
This commit is contained in:
OxygenCobalt
2021-10-30 18:21:30 -06:00
parent 4f4f6654c0
commit 68782fadac
33 changed files with 544 additions and 278 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ dependencies {
// --- SUPPORT ---
// General
implementation "androidx.core:core-ktx:1.6.0"
implementation "androidx.core:core-ktx:1.7.0"
implementation "androidx.activity:activity-ktx:1.3.1"
implementation 'androidx.fragment:fragment-ktx:1.3.6'
@@ -74,7 +74,7 @@ dependencies {
implementation "androidx.viewpager2:viewpager2:1.1.0-beta01"
// Lifecycle
def lifecycle_version = "2.3.1"
def lifecycle_version = "2.4.0"
implementation "androidx.lifecycle:lifecycle-common:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"