Let me say what I have in mind. Since you are working with RadioGroup i. E RadioButtons There is one option.
Now, override onCheckedChanged(RadioGroup group, int checkedId) and based on the value of checkedId determine which path of execution to take. It's the same, if you do the decisions based on the id's(from the xml) or unique id number in the group. Does this makes sense to you?
I hope you get what I want to say and it helps as well.
I tried, but didn't work either. – Mahmoud Hossam Jul 23 '11 at 23:46 It just an idea, that might avoid the exception and usage of group. GetCheckedRadioButtonId(); It's just another way around.
If you tried what I told you WITH group. GetCheckedRadioButtonId(); probably won't work, same exception will be thrown.Do it without. – Nikola Despotoski Jul 24 '11 at 0:10 No, I didn't use it with getCheckedRadioButtonId(), it was another problem, but it finally worked, thank you.
– Mahmoud Hossam Jul 24 '11 at 2:47 Good. What was the cause of the problem, if I may know? (no code, just words) :D – Nikola Despotoski Jul 24 '11 at 2:50 I did write the code that handles the event, but forgot to invoke it in onCreate() :D – Mahmoud Hossam Jul 24 '11 at 5:02.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.