I'm trying to implement a feature that highlights dates in a TextView and provides tappable links which, when clicked, takes the user to the Calendar app with the date pre-filled.
So far, I have the tappable links working using SpannableString, ClickableString and LinkMovementMethod, but I'm stuck at the "Finding dates in a string" part. I believe iOS has some built in functionality for this, so I'm wondering if anything exists in Android land that I might have missed.
Trying to hold off from writing a complex regex, so any ideas, advice to greatly appreciated. Thanks