playback: fix queue sheet scroll behavior
Fix an issue where an upwards nested scroll past the top of the queue list would not actually collapse the sheet. This was apparently caused by something introduced in recyclerview 1.3.0-alpha01. No idea why. Roll back to the working version.
This commit is contained in:
+9
-7
@@ -23,7 +23,7 @@ android {
|
||||
versionName "3.1.2"
|
||||
versionCode 32
|
||||
|
||||
minSdk 24
|
||||
minSdk 21
|
||||
targetSdk 34
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
@@ -80,6 +80,7 @@ dependencies {
|
||||
def coroutines_version = '1.7.1'
|
||||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version"
|
||||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-guava:$coroutines_version"
|
||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1'
|
||||
|
||||
// --- SUPPORT ---
|
||||
|
||||
@@ -89,11 +90,14 @@ dependencies {
|
||||
implementation "androidx.activity:activity-ktx:1.7.2"
|
||||
implementation "androidx.fragment:fragment-ktx:1.6.0"
|
||||
|
||||
// UI
|
||||
implementation "androidx.recyclerview:recyclerview:1.3.0"
|
||||
// Components
|
||||
// Deliberately kept on 1.2.1 to prevent a bug where the queue sheet will not collapse on
|
||||
// certain upwards scrolling events
|
||||
// TODO: Report this issue and hope for a timely fix
|
||||
// noinspection GradleDependency
|
||||
implementation "androidx.recyclerview:recyclerview:1.2.1"
|
||||
implementation "androidx.constraintlayout:constraintlayout:2.1.4"
|
||||
implementation "androidx.viewpager2:viewpager2:1.1.0-beta02"
|
||||
implementation 'androidx.core:core-ktx:1.10.1'
|
||||
implementation "androidx.viewpager2:viewpager2:1.0.0"
|
||||
|
||||
// Lifecycle
|
||||
def lifecycle_version = "2.6.1"
|
||||
@@ -128,8 +132,6 @@ dependencies {
|
||||
implementation 'io.coil-kt:coil-base:2.4.0'
|
||||
|
||||
// Material
|
||||
// TODO: Stuck on 1.8.0-alpha01 until ripple bug with tab layout is actually available
|
||||
// in a version that I can build with
|
||||
// TODO: Exactly figure out the conditions that the 1.7.0 ripple bug occurred so you can just
|
||||
// PR a fix.
|
||||
implementation "com.google.android.material:material:1.10.0-alpha04"
|
||||
|
||||
Reference in New Issue
Block a user