Skip to content

Commit

Permalink
Adapt onFring for aoi34
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesa2 committed Sep 15, 2023
1 parent 098eb18 commit 3b5a41f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,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 3b5a41f

Please sign in to comment.