is a JSONArray that I retrieve from my db.
And my problem is that when I put in "stand by" my app, and so the activity is stopped when i reopen my activity I found the value of radiogroup duplicate.
Example:
if in my App have 3 radio button like:

1

2

3

When I stanby phone without close app, and reopen app after unlocked phone, i find this:

1

2

3

1

2

3

I Believe that the problem is the

rgp.addView

that add

radioButton

without check if radiobutton already exists.
There is a method for check if radioGroup is already populated?