Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to open a link defined using html <a> tag #2731

Open
FikriMilano opened this issue Nov 21, 2024 · 2 comments · May be fixed by #2732
Open

Ability to open a link defined using html <a> tag #2731

FikriMilano opened this issue Nov 21, 2024 · 2 comments · May be fixed by #2732
Labels
P2 Medium priority issue

Comments

@FikriMilano
Copy link
Collaborator

FikriMilano commented Nov 21, 2024

Is your feature request related to a problem? Please describe.
Open a link when it's clicked, the link will be defined using html tag.
For example <a href="https://www.youtube.com/">link text</a>

Describe the solution you'd like
Apply this code to the TextView which adds ability to open a link in the TextView.

question.movementMethod = LinkMovementMethod.getInstance()

Describe alternatives you've considered
N/A

Additional context
N/A

Would you like to work on the issue?
Yes

@FikriMilano FikriMilano linked a pull request Nov 21, 2024 that will close this issue
7 tasks
@santosh-pingle santosh-pingle added the P2 Medium priority issue label Nov 25, 2024
@jingtang10
Copy link
Collaborator

is this needed for fhircore?

@FikriMilano
Copy link
Collaborator Author

@jingtang10 yeah, we have a project where the user needs to open a youtube link declared inside item.text

FYI @f-odhiambo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Medium priority issue
Projects
Status: New
Development

Successfully merging a pull request may close this issue.

3 participants