Copying Textview text into Clipboard

Hey guys, sometimes you may want to have your textview content to be copied to your clipboard. Don’t ask me why you wanted this feature…but I can show the code snippet which you can use it. Best is to create a utils class and add this code, so that its shared across your project. refer the screenshot. Happy coding 🙂

Screen Shot 2016-05-12 at 2.26.04 pm

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s