I want to pass a value from one Activity to another to update an integer. So basically I want Activity2 to send Activity1 a value it has garnered from user input. Seems like it should be simple just not sure how. Is it possible to run a function from another Activity and give it this value as an argument?
Share
Have
Activity1usestartActivityForResult()to start upActivity2. HaveActivity2callsetResult()beforefinish()-ing. HaveActivity1overrideonActivityResult()to get the result.