Hi there:) So that's my problem:
I've got two CollectionViews in my app and I want to be able to change between them by swiping side to side. Is there a good way to implement this?
Thanks in advance:)
CodePudding user response:
At first, you can try to put the two CollectionViews in two Contentpages and set the two pages as the TabbedPage's child page. Then you can try to select different ColectionView by selecting different page when user swipes on the screen. For more information, you can check the official document about the TabbedPage.
In addition, I suggest you to use the Community Toolkit's control named TabView, because it can put the two CollectionViews in the same page and there is a sample on the github, you can refer to it.