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

  • Home
  • SEARCH
  • 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 6237685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:04:32+00:00 2026-05-24T11:04:32+00:00

I haven’t seen this issue covered on SO so here it goes. I have

  • 0

I haven’t seen this issue covered on SO so here it goes. I have a seekbar that prevents seeking beyond the secondary progress(in this case, music buffering). Let’s say the song is 5 minutes long, 4 minutes have been buffered, and it is playing at the one minute mark. When I go to drag the thumb, it drags and drops fine. The issue is that when I stop dragging(without releasing) and then drag again, the thumb is rapidly jumping from the currently playing position(1 minute) to the position I am dragging the thumb. When I release, it’s fine, it’s only an issue with dragging the thumb. Here is my seekbar listener….

private SeekBar.OnSeekBarChangeListener seekBarChangeListener = new SeekBar.OnSeekBarChangeListener() {

    public void onProgressChanged(SeekBar seekBar, int progress,
            boolean fromUser) {

        int secondaryPosition = seekBar.getSecondaryProgress();
        if (progress > secondaryPosition) {
            seekBar.setProgress(secondaryPosition-1);
        }
    }

    public void onStartTrackingTouch(SeekBar seekBar) {

    }

    public void onStopTrackingTouch(SeekBar seekBar) {
        seekMediaPlayerToSeekBarTouch(seekBar);
    }

};
  • 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-24T11:04:33+00:00Added an answer on May 24, 2026 at 11:04 am

    I’m guessing you have a Handler or a Thread to update the SeekBar? I would recommend setting up a basic check to see if the user is handling the SeekBar so it won’t keep trying to redraw the thumb for the SeekBar while it’s being handled. Just set a boolean, such as mSeekbarTracking to true in the onStartTrackingTouch() method, then in the SeekBar updater, make it check that mSeekbarTracking is false before it tries to update it.

    I don’t know if that will solve all of your problems though. Maybe you could try that and see how it affects your issue. It will probably help us help you if you post the code that you’re using to update the SeekBar.

    Cheers

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

Sidebar

Related Questions

Haven't seen many Geneva related questions yet, I have posted this question in the
I haven't seen this question anywhere else, I hope someone can help. I have
Haven't seen anything, but I have seen that you can create albums in the
Haven't seen this feature anywhere else. I know that the 32nd bit is used
Haven't seen anything about it here but it seems to solve one of the
I haven't found any documentation on this or seen this done before, but is
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I haven't this issue in the other popular browsers. In a JSP page (let's
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
Haven't found this in my search on Stackoverflow - I know I've seen a

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.