Hi all,

I have a requirement, where i want store the counter varibale and reuse the same in my code(java).


i have one Button, and i want to know how many times it was clicked, based on that i have to perform some actions.

for example
if counter = 1{
do some thing}
if counter =2{
do something}
etc..

Could you please any one help on this requirement.
thanks in Advance