I want make screen in which collection view Cell should fill whole width of screen while device is in portrait , and when device rotates collection view shows 2 cells in 1 section.
For better visualisation see below image.
I tried to make cell width = device width (for portrait) but in landscape cell shows in centre of screen.
Will it possible to make such design using collection view ? If it is possible then how do I achieve this? OR any other idea will be appreciated.