R Roozbeh New Member Aug 23, 2014 #1 Hello i use this code for add 10 imageviews. B4X: for i=0 to 9 Imageview1.Initialize("imgeview1") Panel1.AddView(Imageview1,3.5%x,10%x,45%x,35%x) next now how i can load images in imageviews out of loop? (Separate) Thanks
Hello i use this code for add 10 imageviews. B4X: for i=0 to 9 Imageview1.Initialize("imgeview1") Panel1.AddView(Imageview1,3.5%x,10%x,45%x,35%x) next now how i can load images in imageviews out of loop? (Separate) Thanks
Erel B4X founder Staff member Licensed User Longtime User Aug 24, 2014 #2 Add the imageviews to a list and then you will be able to access them. See this example: http://www.b4x.com/android/forum/threads/tick-tack-toe-working-with-arrays-of-views.8506/#content Upvote 0
Add the imageviews to a list and then you will be able to access them. See this example: http://www.b4x.com/android/forum/threads/tick-tack-toe-working-with-arrays-of-views.8506/#content