Android Question Why is the ImageView1.Bitmap and Button1.Text NOT changing by "N"?

sibutr

Member
Licensed User
Longtime User
Sub Globals
DimButton1AsButton : DimBitmapTempAsBitmap : PrivateImageView1AsImageView​

End Sub

Sub Activity_Create(FirstTime AsBoolean)
Activity.LoadLayout("LayOutTest")​

End Sub

Sub Button1_Click
For N = 1 To 6
BitmapTemp.Initialize(File.DirAssets, N & ".jpg")
ImageView1.Bitmap = BitmapTemp
Button1.Text= N


For t = 1 To 60000000 : Next ' Delaying ( Pause )
Next

End Sub
 

Attachments

  • ImageViewTest.zip
    392.2 KB · Views: 120
Last edited:

DonManfred

Expert
Licensed User
Longtime User
For t = 1 To 60000000 : Next ' Delaying ( Pause )
You CAN NOT stop the main thread. It works. But all you can see is probably just the LAST image...
 
Upvote 0
Top