I’m going for a tabbed layout for my application, and I’m having a little trouble. I have the main Activity, and then I have the sub activities (one for each tab). In one sub activity, I have a TextView set as a public member of the activity. Using the main activity, how could I call .setText() on the TextView in the sub activity? Thanks!
I’m going for a tabbed layout for my application, and I’m having a little
Share
to achieve that is sending extras in your Main Activity intent, receive in your SubActivity and set text in your TextView.
Source::
Target::