On Thu, Oct 7, 2010 at 2:59 PM, Bret Foreman <[email protected]> wrote:
> The length of dataList can change so re-using the buttons is
> problematic. Is there a way to get Android to completely remove the
> RadioGroup rather than just re-fetch the same object when I call
> findViewById? I want to cause a new RadioGroup object to re-created
> like it would be in onCreate.

Call removeView() on its parent, passing the RadioGroup as the parameter.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

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