I would like to see imageview1, imageview1 invisible and imageview2 be visible.
I tried :
sub imageview1.clik
Imageview1.visible = false
Imageview2.visible = true
end sub
The code you posted is incorrect, the correct one is:
B4X:
Sub ImageView1_Clik
ImagVview1.visible = False
ImageView2.visible = True
End Sub
You have to indicate what row raises the error. Within the Sub Intercepting the Click Event?
If so, then it clicked ImageView1 one when ImageView2 has not yet been initialized or added to a view