AutoLinkTextView
AutoLinkTextView copied to clipboard
How to handle 2 types of clicks on autolinktextview?
Hi, i am using this library to display hashtags in listview. working perfectly fine. But i want two types of clicks for AutoLinkTextview.
- when clicked on hashtag in AutoLinkTextview - Working perfect
- when clicked on AutoLinkTextview (not on Hashtag, side of hashtag) - Need to navigate to detail page. (it's not happening) how to achieve this? Thank you.
@bala-suresh : Did you figure this out?
Any luck with this please?
I found a work around and it's working 100%
- Make boolean isClickableTextClicked = false
- Inside auto link click listener set isClickableTextClicked = true in first line
- Make regular onclicklistener and check if isClickableTextClicked = false then open details.