hanggrian / socialview

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

mentionAdapter and hashtagAdapter not found #72

Closed VirenderSingh123 closed 4 years ago

VirenderSingh123 commented 4 years ago
 textView.hashtagAdapter = defaultHashtagAdapter
    textView.mentionAdapter = defaultMentionAdapter
VirenderSingh123 commented 4 years ago

please provide solution

pingothedoer commented 4 years ago

@VirenderSingh123 I just faced this issue and found a solution in the demo of this repo. MentionAdapter has been replaced with MentionArrayAdapter and it works fine.

val mentionAdapter: ArrayAdapter<Mention> = MentionArrayAdapter(context)

hanggrian commented 4 years ago

Thanks @pingothedoer for pointing that out.