How to Create a row of Images

images

#1

hi ! ,
im try to create an view and having troubles.
im trying to create a row of Images with ngFor , so i dont know the exec number of images that will apper on the screen but in need it to look like that ,
in case of 3 photos it will be in one line but when the fourth Image will added it will go down to a new line

thank you


#2

Use a WrapLayout
https://docs.nativescript.org/angular/ui/layout-containers#wraplayout


#3

Or you could use Flex
https://docs.nativescript.org/cookbook/ui/layouts/flexbox-layout