Android kotlin onTouchListener wants me to override performClick() -
i'm trying rid of warning android studio wants ontouchlistener override performclick do, warning remains.
draggablebar!!.setontouchlistener(view.ontouchlistener { view, motionevent -> when (motionevent.getaction()) { motionevent.action_down -> { } motionevent.action_up -> { view.performclick() } } return@ontouchlistener true })
could android studio bug or doing wrong?
Comments
Post a Comment