SocialTextWatcher is a text change listener that monitors whether user is currently typing a hashtag or mention. This is particularly useful for SocialAutoCompleteTextView in event that whether you want to clear the adapter or add new items according to user input.
Unfortunately, my logic in TextWatcher is not at its best and would really appreciate it if a better one is provided.
SocialTextWatcher
is a text change listener that monitors whether user is currently typing a hashtag or mention. This is particularly useful forSocialAutoCompleteTextView
in event that whether you want to clear the adapter or add new items according to user input.Unfortunately, my logic in
TextWatcher
is not at its best and would really appreciate it if a better one is provided.