Implementing Touch Event on a custom object android
<p>I am trying to write a simple program using Surface View. I have an Object called ball which is drawn on the Surface and keeps moving around. I want to enable the Touch Event on the Object. The objective is stop the ball moving for a few secs when I touch it. I am not sure how to go about adding setOnTouchListener to the Customer Object ball. </p>

<p>I was able to create a custom view on top of Surface View. But when I touch the ball which is the custom view its not responding to touch. I have implemented the OnTouchListener and also set the setOnTouchListener. I am pretty new so running into issues.</p>
