xamarinuiscrollviewxamarin.formsmagnify

Magnification of items during scrolling in Xamarin.Forms


We need to implement a horizontal scroll control in Xamarin.Forms, that would not just allow scrolling through items via swipe, but would magnify elements in the row as they approach a center of the scroll control. The design of the layout desired is this:

enter image description here

Thus far I wasn't able to find any control for Xamarin or Xamarin.Forms that implements such behaviour.

Please either provide a hint on how to approach the implementation of such functionality via extending the UIScrollView, or point to a control or example that related to the requirement. Thank you.


Solution

  • You can use the CarouselView, but it's still in the preview. So, the best way to implement it at the moment is to use the CustomRenderers