Description
SocialView is an Android library that adds hashtag, mention and hyperlink support to text views and text fields. It provides SocialTextView and SocialEditText, and a helper class that applies the same behavior to any TextView. As you type, it can show suggestions for hashtags and mentions. The base library has the views and helper, and the extended library adds SocialAutoCompleteTextView, which needs a hashtag adapter and a mention adapter for its suggestions. You can write a custom adapter by extending SocialAdapter or by writing your own ArrayAdapter, although the README notes that custom adapters are experimental and points to a sample. XML attributes are listed in attrs.xml, and listeners and state can be changed in code. The views can be used as they are, or installed into a custom view. The project is open source on GitHub and is distributed through a Gradle dependency, with the download instructions in the README.…
Highlights
- Hashtag, mention and hyperlink support
- SocialTextView and SocialEditText
- Suggestions for hashtags and mentions while typing
- Auto-complete text view in the extended library
- Custom adapters for suggestions
Ratings & Reviews
No ratings yet
Be the first to rate Socialview.
People also visit
Socialview FAQ
What is SocialView?
An Android library for text views and text fields that understands hashtags, mentions and hyperlinks.
How do I add it to my app?
Add the dependency shown in the README's Download section, then use the SocialTextView or SocialEditText widgets in your layout.
How do I show suggestions?
Use the extended library's SocialAutoCompleteTextView and set a hashtag adapter and a mention adapter. You can write custom adapters, though the README calls them experimental.
Where are the attributes listed?
The README points to attrs.xml in the library for the full list of available attributes.
What are the best Socialview alternatives?
Popular alternatives to Socialview include Pachli Android, Ocelot.Social and SimpleSharingButtons. See all Socialview alternatives






