I am created Post app and user can also upload images and descriptions ( Text ). And i am used label Component for showing user description.
I want to make like Facebook descriptions system.
when user write post and have a link in a there description then how can I show link in description component… How can i set there specific text(link) clickable from description.
what about having more than one link in description?
the webviewer is the best solution according to me. Labels will only make it more complex
Because I think he will now have to add activity starter for such link with label… but webviewer would do this without any code, but just be checking “use external browser” in designer of webviewer… But when you intend to use dynamic component, then you may need to declare that also.
Description showing in lable componate. And if have a link in description, so I want to set this link clickable only for specific Text (example link :https//Google.com)
I want the text to be in HTML format when the user posts the description. This means that if there is a link in the text, it should be automatically detected and converted to html format and after store html text in fierbase.
And this html file should be shown in Web viewer … So that if there is a link in the description, it will be clickable
If HTML is not working properly then you can try this:
You can use a seperate label just for link and show it just below the description.
Set it as clickable and text colour to blue or pink to make it looks like a link.
This label can be optional, if user has a link then he can provide it separately and you have to make a condition if link label text is not empty then make it visible otherwise keep it invisible.