I have the following scenario
public class CustomView extends absSpinner implements onGestureListener{
Other Functions here
@Override
public boolean onSingleTapUp(MotionEvent e) {
// TODO Auto-generated method stub
return false;
}
}
and Main Activity Class as follows
public class MainActivity extends Activity{
}
I want to implement a touch on the child of CustomView from MainActivity
class.
Thanks in advance for you help
argongold
On Thu, Dec 23, 2010 at 12:38 AM, argon gold <[email protected]> wrote:
> Hi,
>
> I have a custom View with Children and it has also implemented
> OnGestureListener. In custom view class I have also overridden
> "onSingleTapUp() function as below.
>
> @Override
> public boolean onSingleTapUp(MotionEvent e) {
> // TODO Auto-generated method stub
> return false;
> }
>
>
> How I will Intercept this Tap action from my MAIN ACTIVITY class when I
> tap on any child of custom view?
> Thanks in advance for your explanation. Please give some example or
> pointer.
>
> argongold
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en