开发者

is there any way catch longclick leave or end event in android

开发者 https://www.devze.com 2023-02-19 13:14 出处:网络
when i use longclick on a button it opens a Dialogbox and when release my press(longc开发者_如何学编程lickend ) from the button..it should come back to my first view......btw, i don\'t really know wha

when i use longclick on a button it opens a Dialogbox and when release my press(longc开发者_如何学编程lickend ) from the button..it should come back to my first view......


btw, i don't really know what you are asking. Be more descriptive and explain what you've already tried. Also, as dziobas said, if you find someone answered your question, accept their answer so others are more inclined to answer your questions.

but here are two comments:

1) if you don't return true after the longclick event, i believe the onclick event will be triggered (i think).

2) it sounds like maybe you should be considering just starting an activity for result.

0

精彩评论

暂无评论...
验证码 换一张
取 消