Reputation: 629
I am working in xamarin.forms. I have the collection view inside the scroll view. I know it is not a good practice but I am not in a position to change the whole code from scratch. Because of this, there are two scrolls on my single page, especially in IOS. I have gone through several articles, the below link is one of them but I could not access the whole code.
https://luismts.com/collectionview-inside-scrollview/
Is there any workaround? The blue arrows are my two different collection views and the whole page has inside Scroll View.
Upvotes: 0
Views: 1146
Reputation: 86
I suggest you use Bindable layout instead of collectionview here. The bindable layout uses the parent scrollview and this will not create multiple scrollable layouts like collectionview. Here is the official xamarin documentation: https://learn.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/layouts/bindable-layouts
Upvotes: 1