How To Implement Dialogbox And Onlongclick At The Same Time On The Button?
I am working onLongClickListner and DialogBox I wanted to add button, when i click on it open a dialogBox (It first ask do you want to select the button) after click on the DialogB
Solution 1:
If you want to show answer with longClick on button you should attach onLongClickListener to this button.
- Implement onLongClickListener to your class
- In overrided method "onLongClick" write code that describes what answer you want to show.
Post a Comment for "How To Implement Dialogbox And Onlongclick At The Same Time On The Button?"