On Tue, Aug 17, 2010 at 5:25 PM, Bret Foreman <[email protected]>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 <[email protected]>
 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 [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

Reply via email to