OnTouch和OnLongPress一起工作

我执行
public class TextViewer extends Activity implements OnTouchListener
tv.setOnLongClickListener(itemLongClickHandler);
tv.setOnTouchListener(this);
但我只有第二个有效。 我能让他们都工作吗?     
已邀请:
你是否总是从onTouch()返回true?如果要进行正常的事件处理,则应返回false。 可能有比这更好的方法 - 你想在onTouch()中处理什么类型的事件? 最好的祝愿, Phil Lello     

要回复问题请先登录注册