Android Question using linkify, update text (via kvs), no more hyperlink

Albi

Active Member
Licensed User
Longtime User
Hello,

Linkify is/was working, and then i altered the text using the following code.
B4X:
    If kvs.ContainsKey("lblScroll") Then
        lblScroll.Text = kvs.GetSimple("lblScroll")
    Else
        lblScroll.Text = "Hello and welcome to the ""Weekly News Quiz!""" & CRLF & CRLF & _
        "You can find more of our creations online at www.newsmuse.co as well as limited words on twitter (link below)" & CRLF
    End If
    args(0) = lblScroll
    Obj1.RunMethod4("addLinks", args, types)

When the lblScroll is populated from the else part then linkify works fine. When it is populated from the GetSimple, the text all appears, but the linkify doesn't make the hyperlink.

It's not the worst thing in the world, just wondering if anyone has seen this and/or got a solution...

Thanks!
 

Albi

Active Member
Licensed User
Longtime User
my mistake, i was updating the text without redoing the linking!
all works well!! woop woop.
thank you and goodnight.
 
Upvote 0
Top