Wednesday 12 December 2018

TimeIt

TimeIt

A simple and easy to use stopwatch library for android

With TimeIt, you can create a stopwatch app with very few lines of code!

For example, to create and start a stopwatch and display it with a textView :

Stopwatch stopwatch = new Stopwatch(); stopwatch.setTextView(myTextView); stopwatch.start(); Pausing a stopwatch and resuming it is as simple as calling stopwatch.pause(); and resume() respectively.

TimeIt also allows you to keep track of splits with the stopwatch by simply calling stopwatch.split();

Features

  • Easy to use stopwatch library
  • No need to use seperate threads. Multithreading is handled by the library itself
  • Supports pause/resume and split methods.
  • Supports an OnTickListener to listen for updates in clock.
  • Set the TextView directly with TimeIt (Automatically formats the time).
  • Set custom clock delay to update the time more or less frequently!
  • Much more to come!

Android Arsenal

from The Android Arsenal

No comments:

Post a Comment