Wednesday, February 27, 2013

Re: [android-developers] Re: OnTouch events!!!!

Yeah.. Thanks. I did it.. I was wondering how to do it.. 



On Wed, Feb 27, 2013 at 7:44 PM, G. Blake Meike <blake.meike@gmail.com> wrote:
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+unsubscribe@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 a topic in the Google Groups "Android Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-developers/7uu0jBvtVjg/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
--
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+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate