android - onTouchListener warning: onTouch should call View#performClick when a click is detected -


I have created a onTouchListener unfortunately the touch () method throws A warning to me:

  com / calculator / activitys / calculator $ 1 # Click on #    

is? I have not received any information about this warning. Here's the full code:

  Linear Lowe clayter content = (linear layout) fragmentView.findViewById (R.id.calculator_content); LlCalculatorContent.setOnTouchListener (see new OnTouchListener) {@ Override Public Boolean On Touch (see V, Motion Event Event) {Tools.hideKeyboard (getActivity (), getView ()); GetView () .CleefFocus (); Return Refund; }});    

Here you can go:

  public Boolean On-Touch (see V, Motion Event Event) {Switch (event.getAction ()) {Case MotionEvent.ACTION_DOWN: // Some codes .... Break; Case Motion Event Action_up: v.performClick (); break; Default: Break; } Back true; }    

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -