Thursday, March 27, 2014

The error on onLongClickListener


We have not encountered anything like this in the development process: obviously set onLongClickListener for a view, but a long press anywhere on the screen, the listener function will be executed, seeking expert to explain
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Layout object in question or listen incorrect
Reply:
On the first floor of positive solutions
Reply:
cited landlord tangyuint reply:
we have not encountered anything like this in the development process: a view is clearly set onLongClickListener, but long press the screen anywhere listener function will be executed, seeking expert to explain


Today found the layout problem, the View occupy the entire screen, thanks

No comments:

Post a Comment