ramezaniabbas

Active Member
Licensed User
if you add a panel to the activity and use the panel-reference instead of the activity? Does it work then?
B4X:
message.Show(panel1)
yes yes
Thank you very much my friend
 

Sofian

Member
add to CustomListView to get index :
B4X:
Dim index As Int = CLV1.GetItemFromView(Sender)
Dim pnl As B4XView = CLV1.GetPanel(index)

and runtime error code :
B4X:
java.lang.ClassCastException: com.swk.slx.um_addtocart cannot be cast to android.view.View
 

ramezaniabbas

Active Member
Licensed User
B4X:
Dim index As Int = CLV1.GetItemFromView(Sender)
Dim pnl As B4XView = CLV1.GetPanel(index).tag
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…