Can a collectionView have multiple layout?

as shown in the figure, my initial idea is to implement this page with a collectionView and reuse the controls as much as possible.
but the problem is that the last group is the waterfall flow layout, while the other groups are regular layouts.
I found that the same is true on the home page of Taobao, and the last group is the waterfall stream.
how to implement this kind of page? Hope that students who have written similar pages can share their thoughts.

clipboard.png

Ios
Feb.28,2021

the method you are going to use now is to put two collectionView,collectionView 's size on one scrollView consistent with its contentSize and not scroll, the lower collectionView to handle the waterfall flow, and the upper collectionView to handle the rest.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34f19-2bf81.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34f19-2bf81.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?