I have an activity that gets a string through intent extras:

i.putExtra("static_image", theUri.toString());

in my activity:

Uri imageUri = Uri.parse(intent.getStringExtra("static_image");

It works, but if I don't close the app and I open that activity again with a different uri, the intent gives me the old one...

I think the intent is being reused. How can I reset the activity or force the activity to use the new intent?


Related posts

Recent Viewed