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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:57:54+00:00 2026-05-26T13:57:54+00:00

What I want is a Chronometer UI component which goes back. In standard Chronometer

  • 0

What I want is a Chronometer UI component which goes back. In standard Chronometer all needed methods which show on UI chronometer data are private or final, so it is imposable to change its behavior.
Implementing own chronometer I could only imagine to use Timer and extend View and draw chronometer data on canvas according to state. But in this case I can’t modify the view, because all calls go from another Thread, because timer calls its scheduled tasks in another Thread. So I get CallFromWrongThreadException.
I took a look how standard Chronometer is implemented. There I found

@android.view.RemotableViewMethod
    public void setBase(long base) {
        mBase = base;
        dispatchChronometerTick();
        updateText(SystemClock.elapsedRealtime());
    }

Couldn’t go into @android.view.RemotableViewMethod annotation inside. What the magic is here? How Chronometer updates its view according to time change? Is there some event I can listen for like SystemTimeChange..?

  • 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-26T13:57:55+00:00Added an answer on May 26, 2026 at 1:57 pm

    Implemented own chronometr extending TextView, with one timer task and handler, which get messages from timer task thread.

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

Sidebar

Related Questions

want to have a Hyperlink-Button in a gridView in which I can display a
Want to draw an UIImageView which has an CGImage, and the UIImageView has alpha
What I want is to measure time with milliseconds, but using Chronometer has the
Want to show a custom message in form's error list, if the two fields
Want to create web sites with data on Dynamics AX. We want not to
Want an applescript droplet that opens files in QuickTime and mutes them all. The
Want to know which CSS styles are currently being used on a web page.
want to get all db entries by a specific hash and return it as
Want to find piece of the code, written in python, which adds a new
In my app I want to show a stop timer watch. When I searched

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.