upgrade androidx-core to 1.13.0 (#4384)
https://developer.android.com/jetpack/androidx/releases/core#1.13.0
This commit is contained in:
parent
36d982a359
commit
f8a25f896b
|
@ -29,7 +29,6 @@ import android.view.View
|
||||||
import android.view.ViewGroup
|
import android.view.ViewGroup
|
||||||
import android.widget.ImageView
|
import android.widget.ImageView
|
||||||
import androidx.core.os.BundleCompat
|
import androidx.core.os.BundleCompat
|
||||||
import androidx.core.view.GestureDetectorCompat
|
|
||||||
import androidx.lifecycle.lifecycleScope
|
import androidx.lifecycle.lifecycleScope
|
||||||
import com.bumptech.glide.Glide
|
import com.bumptech.glide.Glide
|
||||||
import com.bumptech.glide.load.DataSource
|
import com.bumptech.glide.load.DataSource
|
||||||
|
@ -121,7 +120,7 @@ class ViewImageFragment : ViewMediaFragment() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
val singleTapDetector = GestureDetectorCompat(
|
val singleTapDetector = GestureDetector(
|
||||||
requireContext(),
|
requireContext(),
|
||||||
object : GestureDetector.SimpleOnGestureListener() {
|
object : GestureDetector.SimpleOnGestureListener() {
|
||||||
override fun onDown(e: MotionEvent) = true
|
override fun onDown(e: MotionEvent) = true
|
||||||
|
|
|
@ -33,7 +33,6 @@ import android.view.ViewGroup
|
||||||
import android.widget.FrameLayout
|
import android.widget.FrameLayout
|
||||||
import android.widget.LinearLayout
|
import android.widget.LinearLayout
|
||||||
import androidx.annotation.OptIn
|
import androidx.annotation.OptIn
|
||||||
import androidx.core.view.GestureDetectorCompat
|
|
||||||
import androidx.media3.common.AudioAttributes
|
import androidx.media3.common.AudioAttributes
|
||||||
import androidx.media3.common.C
|
import androidx.media3.common.C
|
||||||
import androidx.media3.common.MediaItem
|
import androidx.media3.common.MediaItem
|
||||||
|
@ -151,7 +150,7 @@ class ViewVideoFragment : ViewMediaFragment(), Injectable {
|
||||||
)
|
)
|
||||||
|
|
||||||
/** Handle taps and flings */
|
/** Handle taps and flings */
|
||||||
val simpleGestureDetector = GestureDetectorCompat(
|
val simpleGestureDetector = GestureDetector(
|
||||||
requireContext(),
|
requireContext(),
|
||||||
object : GestureDetector.SimpleOnGestureListener() {
|
object : GestureDetector.SimpleOnGestureListener() {
|
||||||
override fun onDown(e: MotionEvent) = true
|
override fun onDown(e: MotionEvent) = true
|
||||||
|
|
|
@ -5,7 +5,7 @@ androidx-appcompat = "1.6.1"
|
||||||
androidx-browser = "1.8.0"
|
androidx-browser = "1.8.0"
|
||||||
androidx-cardview = "1.0.0"
|
androidx-cardview = "1.0.0"
|
||||||
androidx-constraintlayout = "2.1.4"
|
androidx-constraintlayout = "2.1.4"
|
||||||
androidx-core = "1.12.0"
|
androidx-core = "1.13.0"
|
||||||
androidx-exifinterface = "1.3.7"
|
androidx-exifinterface = "1.3.7"
|
||||||
androidx-fragment = "1.6.2"
|
androidx-fragment = "1.6.2"
|
||||||
androidx-junit = "1.1.5"
|
androidx-junit = "1.1.5"
|
||||||
|
|
Loading…
Reference in New Issue