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.

Menu