- Jun 6, 2020
- 11,517
- 4,383
Logic fails me 
If I have a custom list view showing 4 images per row and say 87 images how would I calculate the number of rows and add the images without breaking code.
I'm sure its obvious but I can't figure it out. I either end up one row short or a row with only one image but crash because im trying to add four images.
here is what I was trying
B4X:

If I have a custom list view showing 4 images per row and say 87 images how would I calculate the number of rows and add the images without breaking code.
I'm sure its obvious but I can't figure it out. I either end up one row short or a row with only one image but crash because im trying to add four images.
here is what I was trying
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید