updating kotlin, common, gradle and target SDK to 33

This commit is contained in:
tibbi
2022-09-21 12:36:35 +02:00
parent 729c47a513
commit 75a8a0de76
5 changed files with 12 additions and 12 deletions

View File

@ -271,9 +271,9 @@ class CameraXPreview(
private fun setupZoomAndFocus() {
val scaleGesture = camera?.let { ScaleGestureDetector(activity, PinchToZoomOnScaleGestureListener(it.cameraInfo, it.cameraControl)) }
val gestureDetector = GestureDetector(activity, object : SimpleOnGestureListener() {
override fun onDown(e: MotionEvent?): Boolean {
override fun onDown(event: MotionEvent): Boolean {
listener.onTouchPreview()
return super.onDown(e)
return super.onDown(event)
}
override fun onSingleTapConfirmed(event: MotionEvent): Boolean {