> > In traditional desktop applications we can add more than one handlers > but here if I do one more Button.setOnclickListenersomeOtherListener) this > one overwrites the previous listener. Is there any way I can attach my own > listener along with application's existing listeners dynamically? >
Use the Composite Pattern - create a Listener that is a container of multiple listeners. You add all the listeners you need to the one composite instance then assign that to the button. When it's called, it simply delegates the event to each of its children. > Also is it really not supported on android yet? > Apparently not. > 2) Is there any 3rd party alternative that exists already that monitors > user's interactions in androidi? > You should elaborate what you mean by "monitors user's interactions in android". Based on the phrasing, I'd have to hope there aren't any and that it's not possible. > 3) If this is not supported now are there any future plans to support this > feature? > What feature? The listeners or the 3rd party snooping library? Either way, probably not. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- 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

