Skip to content

Commit

Permalink
Merge pull request #555 from MikeOrtiz/api34
Browse files Browse the repository at this point in the history
api34
  • Loading branch information
hannesa2 committed Sep 15, 2023
2 parents c0bc0a8 + 3b5a41f commit 85a87d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ buildscript {
println "Gradle uses Java ${Jvm.current()}"

ext {
defaultTargetSdkVersion = 33
defaultCompileSdkVersion = 33
defaultTargetSdkVersion = 34
defaultCompileSdkVersion = 34
}

allprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ open class TouchImageView @JvmOverloads constructor(context: Context, attrs: Att
performLongClick()
}

override fun onFling(e1: MotionEvent, e2: MotionEvent, velocityX: Float, velocityY: Float): Boolean {
override fun onFling(e1: MotionEvent?, e2: MotionEvent, velocityX: Float, velocityY: Float): Boolean {
// If a previous fling is still active, it should be cancelled so that two flings
// are not run simultaneously.
fling?.cancelFling()
Expand Down

0 comments on commit 85a87d5

Please sign in to comment.