Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

timecop

Count the time from any part of your app

As simple as it gets:

// start the timer
TimeCop.getInstance(ctx)
	.start(LOAD_VIEWS_TAG);

// do some work
setupViews();

// stop the timer
TimeCop.getInstance(ctx)
	.stopAndDisplayLog(LOAD_VIEWS_TAG);

// outputs =>  D/TIMECOP: 668 ms - forKey: LOAD_VIEWS_TAG

Installation

Add it in your root build.gradle at the end of repositories:

allprojects {
		repositories {
			...
			maven { url "https://jitpack.io" }
		}
	}

Now add your dependency:

dependencies {
	compile 'com.github.cesarferreira:timecop:0.3.3'
}

About

Static way to count time in android

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.