On Tue, Aug 17, 2010 at 5:25 PM, Bret Foreman <bret.fore...@gmail.com>wrote:
> I re-use the same listener for all the buttons and just switch on the > button ID to deliver the different actions for each one. > I think switching on 50 different button IDs is exactly what the OP is trying to avoid ... On Tue, Aug 17, 2010 at 11:49 AM, Bhavya Siddappa <bhavs...@gmail.com> wrote: > Want to avoid writing 50 switch cases for onClick listener events. ------------------------------------------------------------------------------------------------- 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 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