heytherewill / Mvx.Clipboard

πŸ“‹ MvvmCross plugin to access the device's clipboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mvx.Clipboard

πŸ“‹ MvvmCross plugin to access the device's clipboard

Installation

Install via NuGet using:

PM> Install-Package Mvx.Clipboard

Usage

Resolve it:

var clipboardService = Mvx.Resolve<IClipboardService>();

Set clipboard data:

var success = clipboardService.CopyToClipboard("Some text");

Get data from clipboard:

var clipboardContent = clipboardService.ReadFromClipboard();;

#Thanks

Clipboard icon by Andrew Onorato from the Noun Project

About

πŸ“‹ MvvmCross plugin to access the device's clipboard


Languages

Language:C# 100.0%