I think you need a state machine.  The behavior of your onTouch will be 
determined by what the user does and the current state.  That will, in 
turn, change the state.

-blake

On Tuesday, February 26, 2013 11:44:39 PM UTC-8, Numair Qadir wrote:
>
> Greetings,
>
> Can nested onTouch method be implemented? I'm working on an app in which 
> user is drawing some components onTouch. I want to restrict user to draw a 
> point, line and circle respectively. Is it possible that one event run only 
> once and goto next event until and unless I restart the app. Or something 
> like parent onTouch() and child onTouch(). Help needed!
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to