Il faut supprimer ImgPilule(5).Initialize("") !
Dim ImageView0, ImageView1, ImageView2, ImageView3, ImageView4 as ImageView
Dim ImgPilule() As ImageView
ImgPilule = Array As ImageView(ImageView0, ImageView1, ImageView2, ImageView3, ImageView4)
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Main")
bmp_pilule = LoadBitmap(File.DirAssets, "pilule.png")
ImgPilule(0).Bitmap = bmp_pilule
End sub
Du faut que les ImageViews ont été créés dans le layout, donc déjà initialisées , il ne faut plus les réinitialiser !
Meilleures salutations.
You must remove ImgPilule(5).Initialize("") !
As the ImageViews are created in the layout, therefore already initialized, they must not be initialized again !
Best regards.