LinkedIn.Spyglass 3.0.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package LinkedIn.Spyglass --version 3.0.3                
NuGet\Install-Package LinkedIn.Spyglass -Version 3.0.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LinkedIn.Spyglass" Version="3.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LinkedIn.Spyglass --version 3.0.3                
#r "nuget: LinkedIn.Spyglass, 3.0.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install LinkedIn.Spyglass as a Cake Addin
#addin nuget:?package=LinkedIn.Spyglass&version=3.0.3

// Install LinkedIn.Spyglass as a Cake Tool
#tool nuget:?package=LinkedIn.Spyglass&version=3.0.3                

LinkedIn.Spyglass .NET-Android Binding Library

NuGet version (LinkedIn.Hakawai)

Spyglass

A powerful Android library that provides highly-customizable widgets (with smart defaults) to easily add social-media-esque mention (aka tag) support to your app

For a broad overview, check out our blog post at the LinkedIn engineering blog.

Features

  • A subclass of EditText that contains enhanced functionality in order to tokenize user input and display mentions
  • A custom view, similar to a MultiAutoCompleteTextView, that displays suggestions in an embedded ListView rather than a Popup
  • Custom tokenizer interface, including a default implementation containing several options for customization
  • Designed to handle suggestions dynamically as are retrieved from multiple data sources
  • Supports both implicit and explicit (i.e. "@User Name") mentions

Overview

Spyglass is divided into three, customizable layers: tokenization, suggestions, and mentions. Together, these layers form the update lifecycle used within Spyglass:

  1. User types a character
  2. Tokenize input
  3. Generate and display suggestions
  4. User taps a suggestion
  5. Insert and display mention

For sample setup of custom view that shows mentions list and appears on "@" character type see GridMentions.cs in Activity Sample project

Product Compatible and additional computed target framework versions.
.NET net7.0-android33.0 is compatible.  net8.0-android was computed.  net8.0-android34.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on LinkedIn.Spyglass:

Package Downloads
SpeakLink

The SpeakLink MentionEditor is a extended mention control for .NET MAUI applications. It provides an enriched text editing experience with support for '@' mentions or any other trigger character, similar to popular social media platforms. The MentionEditor control is highly customizable, allowing developers to easily integrate and adapt it to their specific application needs. There is also RichEditor that supports mentions as described above and support for bold/italic/underline/strikethrough formatting.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.3.1 4,439 12/2/2023
3.0.3 129 11/27/2023