OnClickListener是按下按钮+按钮放上去。不管怎么说,只要按下按钮就行了吗?
我还是不太会读文档。我不知道该如何去寻找一些可能有帮助的东西。
OnLongClickListener说Called when a view has been clicked and held.
,因为我的问题很快就被回答了,有人知道为什么当我将onClick改为onTouch?时,为什么会出现这个错误?
The method setOnTouchListener(View.OnTouchListener) in the type View is not applicable for the arguments (new OnTouchListener(){})发布于 2012-11-27 06:21:11
https://stackoverflow.com/questions/13578432
复制相似问题