Add durations to PlaybackFragment

Add the song duration & the current duration to PlaybackFragment, update the SeekBar in PlaybackFragment to reflect those durations.
This commit is contained in:
OxygenCobalt
2020-10-12 16:13:15 -06:00
parent 09d4e107e0
commit 3bafc17d0c
9 changed files with 103 additions and 27 deletions
+3 -3
View File
@@ -48,11 +48,11 @@ dependencies {
// General
implementation 'androidx.core:core-ktx:1.3.2'
implementation 'androidx.activity:activity:1.2.0-beta01'
implementation 'androidx.fragment:fragment:1.3.0-beta01'
implementation 'androidx.activity:activity-ktx:1.2.0-beta01'
implementation 'androidx.fragment:fragment-ktx:1.3.0-beta01'
// Layout
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.2'
// Lifecycle
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"