Android Question How can I access views from other activities?

Michael Mejias

Member
Licensed User
Longtime User
Ohw. Okay. Is there another approach for this? Because I have scrollview with list of imageview from Activity X and I want to get the images from Activity X to Activity Y. Thanks
 
Upvote 0

nibbo

Active Member
Licensed User
Longtime User
Not sure what you are trying to achieve but Global variables may help.
If the image was in Process_Globals then it will have scope in other activities, not sure how efficient this would be with images...
 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
If I create class, will It be accessible from all activities? Thanks
Yes it will. If you have a piece of functionality that is being executed in multiple activities, then a class is a good way to implement it.

- Colin.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…