LinkedIn.Spyglass
3.0.3.1
dotnet add package LinkedIn.Spyglass --version 3.0.3.1
NuGet\Install-Package LinkedIn.Spyglass -Version 3.0.3.1
<PackageReference Include="LinkedIn.Spyglass" Version="3.0.3.1" />
paket add LinkedIn.Spyglass --version 3.0.3.1
#r "nuget: LinkedIn.Spyglass, 3.0.3.1"
// Install LinkedIn.Spyglass as a Cake Addin #addin nuget:?package=LinkedIn.Spyglass&version=3.0.3.1 // Install LinkedIn.Spyglass as a Cake Tool #tool nuget:?package=LinkedIn.Spyglass&version=3.0.3.1
LinkedIn.Spyglass .NET-Android Binding Library
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 embeddedListView
rather than aPopup
- 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:
- User types a character
- Tokenize input
- Generate and display suggestions
- User taps a suggestion
- 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 | Versions 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. |
-
net7.0-android33.0
- Xamarin.AndroidX.AppCompat (>= 1.6.1)
- Xamarin.AndroidX.Fragment (>= 1.6.1)
-
net8.0-android34.0
- Xamarin.AndroidX.AppCompat (>= 1.6.1)
- Xamarin.AndroidX.Fragment (>= 1.6.1)
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.