On Sun, Jun 19, 2011 at 7:44 PM, untriangulated <[email protected]> wrote:

> It runs fine, but I was wondering if there is a way to replace the else-if
> statement with a switch statement.
>

Use
http://developer.android.com/reference/android/widget/RadioGroup.html#getCheckedRadioButtonId()
and
switch on that.

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