2017년 1월 12일 목요일

Increase and Decrement Value of Variable with Button.LongClick


I am trying to increment/decrement the value of a variable using LongClick. There are two separate buttons for increment/decrement. The purpose is to increment/decrement as long as the relevant button is pressed. After the increment/decrement is done, the value is sent via Bluetooth. But I am unable to increment/decrement with the long button press. Can anyone help me with the logic on how to do it? 

--
This previous post will help you understand how to do it using a clock.


-- 
Thanks a lot Italo :) It helped a lot :) I'm finally able to increment and decrement a value using LongClick. Yeah! :D :) 

-- 


댓글 없음:

댓글 쓰기