LinkedIn.Spyglass .NET-Android Binding Library
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.
- 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
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