EonsNearby
Lurker
I am making a very basic android app, but I need some help on some parts. Basically, the app displays two radio groups, with three radio buttons per group. After selecting a radio button from each group, the user clicks another button (let's just call it "Done"), which records which radio buttons are selected and, based on that information, will launch another activity (so there are nine different activities that could be launched). Here are my questions:
1) How do I make it so that when the user clicks Done, the program will check which radio buttons are selected and then know which activity to launch? I was thinking of using a switch statement, but I am unsure how to write the code for that.
2) Is there a way to set up default selections for both radio groups?
Any help is appreciated.
1) How do I make it so that when the user clicks Done, the program will check which radio buttons are selected and then know which activity to launch? I was thinking of using a switch statement, but I am unsure how to write the code for that.
2) Is there a way to set up default selections for both radio groups?
Any help is appreciated.