Ecplipse Java: using radio buttons to bring new screen for diffrent options.
Hello, I am new to java programming. I am, currently using Eclipse to create a simple android application. In my main screen I have radio buttons which would allow the user to select the option as a radio button, i also have imported TOAST so the message appears saying which option was selected. Currently user has to select the appropriate radio button as well as press btnDisplay so the message can appear saying what was selected. All I need now is that when the user selects the radio button it would bring the appropriate XML file as well as the appropriate class for each of the radio button options depending which one was selected. I am not sure how to do that. I was thinking about array list but now I am unsure if that is what I need.