upgrade androidx-core to 1.13.0 (#4384)

https://developer.android.com/jetpack/androidx/releases/core#1.13.0
This commit is contained in:
Konrad Pozniak 2024-05-03 13:21:49 +02:00 committed by GitHub
parent 36d982a359
commit f8a25f896b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 5 deletions

View File

@ -29,7 +29,6 @@ import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import androidx.core.os.BundleCompat
import androidx.core.view.GestureDetectorCompat
import androidx.lifecycle.lifecycleScope
import com.bumptech.glide.Glide
import com.bumptech.glide.load.DataSource
@ -121,7 +120,7 @@ class ViewImageFragment : ViewMediaFragment() {
}
}
val singleTapDetector = GestureDetectorCompat(
val singleTapDetector = GestureDetector(
requireContext(),
object : GestureDetector.SimpleOnGestureListener() {
override fun onDown(e: MotionEvent) = true

View File

@ -33,7 +33,6 @@ import android.view.ViewGroup
import android.widget.FrameLayout
import android.widget.LinearLayout
import androidx.annotation.OptIn
import androidx.core.view.GestureDetectorCompat
import androidx.media3.common.AudioAttributes
import androidx.media3.common.C
import androidx.media3.common.MediaItem
@ -151,7 +150,7 @@ class ViewVideoFragment : ViewMediaFragment(), Injectable {
)
/** Handle taps and flings */
val simpleGestureDetector = GestureDetectorCompat(
val simpleGestureDetector = GestureDetector(
requireContext(),
object : GestureDetector.SimpleOnGestureListener() {
override fun onDown(e: MotionEvent) = true

View File

@ -5,7 +5,7 @@ androidx-appcompat = "1.6.1"
androidx-browser = "1.8.0"
androidx-cardview = "1.0.0"
androidx-constraintlayout = "2.1.4"
androidx-core = "1.12.0"
androidx-core = "1.13.0"
androidx-exifinterface = "1.3.7"
androidx-fragment = "1.6.2"
androidx-junit = "1.1.5"