Triggering event continuously when Button is pressed down in Android
<p>I have <code>Button</code> and an <code>TextView</code>. Initially on click of button i an incrementing the count value and display in the TextView. The code i have used to do so is.</p>

<pre><code>buttonDayPlus.setOnClickListener(new OnClickListener() 
{               
     @Override
     public void onClick(View v) 
     {
     count = count + 1;
         textView.setText(Integer.toString(count));
     }
}
</code></pre>

<p>But now what i want is if the user pressed the Button, then i want to increment the value one after another and display the increment value in the <code>textView</code> and as soon as user move his hand up...the final increment value is shown in <code>textView</code>. So if anyone knows help me to solve this out</p>
