how to sleep a thread in view class without disabling the touch on imageview?
<p>how to sleep a thread in view class without disabling the touch on imageview?</p>

<p><strong>detailed description :</strong></p>

<p>I have an imageview having on touch listner.
and a View class having a TimerTask which on an event needs to be stopped for a second.</p>

<p>I used </p>

<pre><code>Thread.sleep(1000);
</code></pre>

<p>but, this stops the touch listener too.</p>

<p><strong>EDIT:</strong>
I tried a long for loop, It's still the same.</p>

<p>any alternative  or solution or suggestion appreciated?
thanks.</p>
