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

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -