Sunday, October 2, 2011

[android-developers] generating synthetic clicks


Hello,

Is it possible to send a click event to a check box programmatically (i.e. I instantiate
the event and propagate it somehow). This would greatly simplify the task of having
a checkbox that has consequences when checked tick itself when say an imageview
is clicked (since I would not have to rewrite all the listener code for the imageview as
well).

Any ideas/patterns/pointers?

Thanks,

John Goche

--
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

No comments:

Post a Comment