When starting a new activity (MyActivity2) I can pass data with .addExtra(). After opening MyActivity2 I can call getExtra() and my data is right where I want it. My question - After calling finish() on MyActivity2, I want to pass data to MyActivity1. What is the proper way to pass data when just drilling back to the previous activity like this? A static variable seems to work but from what I have read, they are not part of OOP. What are my options?
Asked
Active
Viewed 335 times