[android-beginners] Getting text of dynamically created radio buttons

2010-06-18 Thread Maxood
How can i retrieve the text of a dynamically created radio button selected by the user? Here's my code: RadioGroup radiogroup = (RadioGroup) findViewById(R.id.rdbGp1); // layout params to use when adding each radio button LinearLayout.LayoutParams layoutParams = new

Re: [android-beginners] Getting text of dynamically created radio buttons

2010-06-18 Thread Mikey
I have taken a look at the API reference, and getText() looks like it might be what you need... On 18 Jun 2010, at 15:11, Maxood wrote: How can i retrieve the text of a dynamically created radio button selected by the user? Here's my code: RadioGroup radiogroup = (RadioGroup)