I want to change the contents of an EditText
on another Activity
with a button.
Both activities extend from the same parent.
How can I do this?
I want to change the contents of an EditText
on another Activity
with a button.
Both activities extend from the same parent.
How can I do this?
i recently started learning about java events and listeners. I believe my SO question may help you. Here is the link to my question.
Basically what you can do is set up an event for when they press the button and then have a listener and have the listener trigger the change. Take a look at my question for more detail. If you take a look at the accepted answer you will see a great example i made.