I am working my way through the tutorials at Android Developers, and have come across a question that I am sure truly shows my newbie status. In step 2 of ‘Radio Buttons’ in the HelloFormStuff section of the HelloViews tutorial, I am directed to “add the following code to create a new member in the HelloFormStuff Activity: “ … What does that mean?
Do i add another class to the package? (new class dialog in eclipse grays out option for private class)
Do I insert somewhere inside the class HelloFormStuff? (error given: “Illegal modifier for parameter radio_listener; only final is permitted”
Thank you for any help you may provide.
I am working my way through the tutorials at Android Developers , and have
Share
The
radio_listeneris the new member. A member is like a part of the the class.So pasting the provided code into the class is actually creating the new member.
It will look something like this (not tested, just read it as “pseudocode” please 🙂 )