Reputation: 1
I'm a beginner in android and I have an application in which a user creates an account. Once the account is created, the user has access to plenty of activities. I need to test the location of the user and update it no matter in which activity he's in. How can I do that? Do I need to use a broadcast receiver or anything similar?
Upvotes: 0
Views: 72
Reputation: 560
For example, if you use a textview to show the location, all textviews in different activities could have the same name, using findviewbyid() to get the textview and update it in different activity.
Upvotes: 1