A sample application demonstrating the Spyglass library. See here for documentation about the library itself.
Here is a list of samples within this app in order of increasing complexity:
-
Basic Demo
Shows the most basic implementation of mentions possible using a
RichEditorView
. -
Network Demo
Demonstrates how network latency affects how Spyglass performs. Contains a slider allowing you to adjust the mocked network latency.
-
Multiple Suggestion Source Demo
Shows how to implement suggestions when they are gathered from multiple potential sources.
-
Grid Suggestions Demo
Demonstrates using a
MentionsEditText
to display suggestions using a customRecyclerView
in a grid-like layout.