> > All this is fine but OP needs to take a step back and ask himself why he > needs to use a string as an identifier? In Android, numeric resource ids > serve the same purpose and are already defined for you by the resource > compiler. >
Agreed... What I would do is create a member variable for each RadioButton. Then show/hide and check/uncheck them as needed based on the user events. That is what I was trying to get at with my first response. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Mar 20, 2012 at 11:27 AM, Nadeem Hasan <[email protected]> wrote: > All this is fine but OP needs to take a step back and ask himself why he > needs to use a string as an identifier? In Android, numeric resource ids > serve the same purpose and are already defined for you by the resource > compiler. > > -- > 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 > -- 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

