How can I call a function repeat when user press a button until user release that button
<p>In android,</p>

<p>How can I repeat calls a function from the time user press a button until he/she release that button?</p>

<p>I have check clickListener and longclicklistener, but it does not seem like they do what I want.</p>

<p>Thank you.</p>
