Android Question Dim index As Int = CustomListView1.GetItemFromView(Sender)

ShadTech

Member
Licensed User
hello all....
i used FaceOffToggleButton in my layout
when tried to get the layout panel with th statement
B4X:
    Dim index As Int = CustomListView1.GetItemFromView(Sender)
        Dim p As Panel
        p = CustomListView1.GetPanel(index)
it raises the following error
(ClassCastException) java.lang.ClassCastException: de.donmanfred.FaceOffToggleButtonWrapper$1 cannot be cast to android.view.View,,
any help؟؟
 

Alexander Stolte

Expert
Licensed User
Longtime User
Why 2 threads with exact the same question???
 
Upvote 0

udg

Expert
Licensed User
Longtime User
I guess that he wanted to update the thread's title but he didn't know how to do it.
 
Upvote 0
Top