Android Question CSBuilder ClickableWord Error

Kiran Raotole

Active Member
Licensed User
In my, I'm using CustomListview and labels.
on one label I clickable work like this :
Code: Copy
    Dim cs As CSBuilder
    cs.Initialize.Append(CreateClickableWord("9225146803"))
    Label1.Text = cs
    cs.EnableClickEvents(Label1)

Word click :
Code: Copy
Sub Word_Click (Tag As Object)
    Log("aaaaaa" & Tag)
End Sub

It shows error Log:
customlistview_getitemfromview (java line: 430)
java.lang.ClassCastException: android.view.ViewRootImpl cannot be cast to android.view.View


Whats problem?
 
Try adding PopAll to the end of the CSBuilder variable
 
Upvote 0
It shows error Log:
customlistview_getitemfromview (java line: 430)
java.lang.ClassCastException: android.view.ViewRootImpl cannot be cast to android.view.View


Whats problem?
these errors indicate that you are trying to cast a CustomView with a standard view.
You have to look for the error somewhere else, not in the CSBuilder
 
Upvote 0
Back
Top