Skip to content

hajiyevelnur92/Copy-button

Repository files navigation

Copy-button

Copy Textview text with one simple click

Usage

image

Android Arsenal

Gradle

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

dependencies {
     compile 'com.github.hajiyevelnur92:Copy-button:1.0'
}

Code

import codehive.copybuttonlibrary.CopyButtonLibrary;
...

CopyButtonLibrary copyButtonLibrary = new CopyButtonLibrary(getApplicationContext(),textView);
copyButtonLibrary.init();