hanggrian / socialview

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

colors change #26

Closed mahmoud939 closed 1 year ago

mahmoud939 commented 7 years ago

1)- How to prevent HashTag text color and mention text color from changed until i found that mention in the DataBase

hanggrian commented 6 years ago

Hi @mahmoud939 , I'm gonna need more detailed explanation (and probably example) to truly understand your goal.

AldioFirando commented 6 years ago

Actually I need this answer too @hendraanggrian , In this case I want the mention color changed just if I choose from suggestion box. So if I mention user that not in suggestion box, it still a normal text and not a mention text.

Thanks

hanggrian commented 6 years ago

Okay I can see your point. But I need to know if such behavior can also be expected in social media nowadays. Let's pick Twitter for example, can you mention a non-existent user? I don't have Twitter I can't really test it myself.

I just want to make sure that if we do implement that feature, it still follows social media standards/guidelines.

v1pu2 commented 5 years ago

Actually I need this answer too @hendraanggrian , In this case I want the mention color changed just if I choose from suggestion box. So if I mention user that not in suggestion box, it still a normal text and not a mention text. If I type email id, not used mention color after @. I want this feature like WhatsApp.

Thanks

hanggrian commented 1 year ago

I believe in the newer version, you can simply setHashtagEnabled(Boolean) or setMentionEnabled(Boolean).