Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6223213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:26:58+00:00 2026-05-24T08:26:58+00:00

so I know that the TabWidget does not create new activities on each tab

  • 0

so I know that the TabWidget does not create new activities on each tab click. But I am confused.. if I have a tab activity that contains a map, and if some values change from some other tab that are linked with the map activity and it should (for my needs) draw something on the map with those changed values taken into account. How can I do that?
Because on the tab click the onCreate method from the map activity won’t be called. I can only exit the app, then enter again, and then it works like I want to. Can onDraw be called from the other activity or sth.. If someone knows how to resolve my problem, please let me know. Thank u, in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T08:26:59+00:00Added an answer on May 24, 2026 at 8:26 am

    You have a number of options:

    1. Use onResume
    2. Broadcast intents to your other activity and use a Broadcast Receiver
    3. You could even use a static class to store information that is accessible between the two.

    I would use option 1. 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am writing java code to create a tabs.i have done that.but now i
We know that IPhone has a push notification function. But I have different kinds
I know that lot of questions about HTML sanitizers have appeared in SO, but
I know that |DataDirectory| will resolve to App_Data in an ASP.NET application but is
I know that IList is the interface and List is the concrete type but
I don't know what I did but for a period of time my TabWidget
I know that design patterns is generally something that's connected to OO programming, but
I know that there are more than a dozen questions about this. But I
I know that ads colors can be set up in account settings, but I
I know that this isn't exactly normalised, but bringing all of the localised data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.