News

Xamarin.Forms 4.4 Adds CarouselView

Microsoft announced Xamarin.Forms 4.4, with a new CarouselView heading a list of new features and functionality for the open-source, cross-platform mobile UI library and development framework.

Although the update also introduces several other new views, Microsoft highlighted the CarouselView in its announcement post last week.

"We were speaking with a customer last year that builds dozens of mobile applications every year," said David Ortinau, senior program manager, Mobile Developer Tools. "They said, 'We cannot remember the last time we made a mobile app that did NOT include a carousel view.' "Many of you have expressed almost identical sentiments to us. So, we are very pleased to introduce a new CarouselView control in Xamarin.Forms 4.4.0."

Microsoft also announced an IndicatorView used to display pages or items in a carousel, along with SwipeView used to provide contextual actions to any element in a CollectionView (introduced in Xamarin.Forms 4.3), such as swiping in any direction to reveal context buttons for common actions like edit or delete.

Ortinau also detailed how developers can use the new IsAnimationPlaying property to quickly enable and display playback of GIF animations, a new capability that he said is best for smaller images and when using fast renderers on Android devices.

"GIF animations are a great and simply way to add animation to your app for better user feedback, calling attention to some action or detail," he said. "It's also great for cat GIFs, of course. The Image is all you need along with the new IsAnimationPlaying property to enable and disable playback. Animations will loop by default. To stop an animation, set IsAnimationPlaying to false."

More detailed on all of the above and much more can be found in the release notes.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus

Featured

  • VS Code Update Adds Python Tutorials

    The Visual Studio Code dev team added new Python tutorials as part of the regular monthly update, this one for March 2020, bringing the open-source, cross-platform code editor to version 1.44.

  • Top 3 Blazor Extensions for Visual Studio Code

    Some developers prefer to create applications with Microsoft's open-source Blazor tooling from within the open-source, cross-platform Visual Studio Code editor. Here are the top tools in the VS Code Marketplace for those folk, as measured by the number of installations.

  • How to Invert a Machine Learning Matrix Using C#

    VSM Senior Technical Editor Dr. James McCaffrey, of Microsoft Research, explains why inverting a matrix -- one of the more common tasks in data science and machine learning -- is difficult and presents code that you can use as-is, or as a starting point for custom matrix inversion scenarios.

  • Microsoft Engineer: 'It's Time to Move OData to .NET 5'

    Microsoft engineer Sam Xu says "it’s time to move OData to .NET 5" and in a new blog post he shows how to do just that.

  • Microsoft Goes Virtual with Developer Education in Face of COVID-19

    Like many organizations that host developer educational events, Microsoft has gone virtual amid shelter-in-place directives and a surge in remote work stemming from the COVID-19 pandemic.

.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.

Upcoming Events