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 6837179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:26:44+00:00 2026-05-26T23:26:44+00:00

My app starts with a TabActivity that has three activities associated to it, one

  • 0

My app starts with a TabActivity that has three activities associated to it, one for each tab.

I then have a singleton class that holds all the values that can be manipulated via these tabs, predominately using SeekBars.

However, some of the SeekBars need to be able to adjust values on other SeekBars, including those in another tab/activity.

I have listeners to detect the changes when the user adjusts a SeekBar. In this I update the value in the singleton. From there I want the singleton to be able to update the parameters on some of the other SeekBars.

Normally (non-Android), I’d get references to the UI classes to be able to access setter methods but I’m having difficulty in finding out how to do this as Android appears to do things a little differently (intents?).

Is there any easy way to accomplish this?

  • 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-26T23:26:45+00:00Added an answer on May 26, 2026 at 11:26 pm

    when we switch from Tab B to C, Tab B activity is resumed (onResume called)

    protected void onResume ()
    

    if you change the value of a static variable in tab B and the switches to tab B.. the change will be refelected when u chk it in the Resume state

    Override on Resume method.. put a log iniside the method and check

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

Sidebar

Related Questions

I have two list that I load when my app starts. The first one
I have a TabActivity where each tab has ActivityGroup. On the home ActivityChild of
I have a winforms app that checks user credentials as it starts. If autharization
I'm hearing that is better to have one connection open upon app start up
Have another issue here. Our app starts out with a tab activity. But, before
Other posters have previously said in this forum that when your Django app starts
The problem that I have is that the app starts to receive memory warnings
I have four activities, A, B, C and D. app starts with activity A,
So, in my program i have a TabActivity which contains two tabs, one tab
In my app,i use a TabActivity with five tabs,each tab contain a ActvityGroup,each ActivityGroup

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.