N
N
Nubbin2017-07-27 15:02:46
Android
Nubbin, 2017-07-27 15:02:46

Work with text?

Good afternoon. Here is an example text that needs to be distributed among the windows: "Hi #hashtag, you can find me @\Nubbin and or on the site" https://toster.ru/nubbin ".
How to make it refer to "Hashtag. java" if usernames then refer them to Username.java, links can be left according to the standard.
Please help, yes, help is really needed.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
apro, 2017-07-28
@apro

If I've interpreted your question correctly (need to display text with links,
with the ability to call your code when those links are clicked),
then you need a TextView and a SpannableStringBuilder: https://stackoverflow.com/questions/12418279/andro...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question