java - Android - how to turn numbers in a TextView into buttons -


my utility app requires user select meeting calendar, removes non-numerical text, , parses remains using logic, final aim of identifying 2 numbers only.

whenever app fails remain 2 numbers only, want open new activity in user "tell" app 2 numbers relevant ones. want display meeting title, location, , description in 3 textviews numbers should clickable special onclick action trigger methods handle identified 2 numbers... question how turn numbers in textviews clickable , have special onclick action. don't think can use linkify cannot put onclicklistener on links. idea turn numbers clickable buttons , add relevant listener buttons. 1) suggestion on how conversion other simple step step parsing? 2) better idea using buttons?

thanks million

call setonclicklistener(this) on textview , supply onclick method in code


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -