Android Question Field lstvpix was declared with the wrong ty

Status
Not open for further replies.

ykucuk

Well-Known Member
Licensed User
Hello,

i got error when Layout Load
B4X:
pnlPick.LoadLayout("LytPick")
error:
B4X:
java.lang.RuntimeException: java.lang.RuntimeException: Field lstvpix was declared with the wrong type.
B4X:
Private btnOK As B4XView
Private lblTitle As B4XView
Private Panel As B4XView
Private lstvPix As CustomListView
notes:
lstvpix = customlistview
b4a version = 9.50

any help ?
 

Attachments

Toky Olivier

Active Member
Licensed User
Hello, I understand that I should create another thread but may be it's easier if I continue this one for this time.
I encontered the same error but I have many views in the Activity having properties aleady configured. If I delete the views having problem, I need to configure them after one by one. Any methods to avoid this?
 
Status
Not open for further replies.
Top