hanggrian / socialview

Android TextView and EditText with hashtag, mention, and hyperlink support
http://hanggrian.com/socialview/
Apache License 2.0
324 stars 81 forks source link

Text remove setMentionTextChangedListener not work proper #21

Closed rahulvis closed 3 years ago

rahulvis commented 7 years ago

textView.setMentionTextChangedListener(new Function2<SocialView, CharSequence, Unit>() { @Override public Unit invoke(SocialView socialView, CharSequence s) { data = socialView.getMentions(); Timber.i("===========USERID %s",data.size()); Timber.i("===================STATUSUTIL %s",socialView.getMentions()); return null; } });

Husein1997 commented 6 years ago

i have same problem too

hanggrian commented 6 years ago

I'm sorry I don't quite understand what is the issue here. To remove text listener, you could just set textView.setMentionTextChangedListener(null), although it may change in future. Correct me if I understand it incorrectly.

hanggrian commented 3 years ago

Closed due to inactivity.