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


  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube