I have all of my intents in activity groups so I can navigate easily using tabs. I've now encountered the problem where I need to pass information to another activity and I don't know how to approach because the activity isn't loaded the normal way.

Here is how I call the new activity:

setContentView(view);

Thanks in advance.

Edit: I put up a custom method because I'm stupid. Fixed now.

有帮助吗?

解决方案

Not sure what you are saying but if you are just replacing the view you are not going to a new activity so everything should still be in scope and accessible.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top