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

Handling of hashtag click listener #77

Closed purnimadan closed 3 years ago

purnimadan commented 4 years ago

hashtag content - if there is some text after hashtag then it works fine. Hashtag and content click take me to two different screens.

hashtag [space] - if there is no text after hashtag but only spaces then click on the empty area also takes me to hashtags screen. I want that space click to take me to the screen where content clicks take me.

Thanks in advance.

androidvk commented 4 years ago

Why don't you get the length before changing activity in onclicklistener

hanggrian commented 4 years ago

I'm not quite so sure what you're talking about here. If there is no text after hashtag symbol, then it wouldn't count as a hashtag.

Screenshot_1595359890

hanggrian commented 3 years ago

Closed due to inactivity.