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 at Converge 360.

comments powered by Disqus

Featured

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

  • VS Code Copilot Previews New GPT-4o AI Code Completion Model

    The 4o upgrade includes additional training on more than 275,000 high-quality public repositories in over 30 popular programming languages, said Microsoft-owned GitHub, which created the original "AI pair programmer" years ago.

  • Microsoft's Rust Embrace Continues with Azure SDK Beta

    "Rust's strong type system and ownership model help prevent common programming errors such as null pointer dereferencing and buffer overflows, leading to more secure and stable code."

  • Xcode IDE from Microsoft Archrival Apple Gets Copilot AI

    Just after expanding the reach of its Copilot AI coding assistant to the open-source Eclipse IDE, Microsoft showcased how it's going even further, providing details about a preview version for the Xcode IDE from archrival Apple.

Subscribe on YouTube

Upcoming Training Events