News

Xamarin.Forms 4.2 Boosts Shell, But Devs Clamor for UWP Support

Microsoft just shipped Xamarin.Forms 4.2 with enhanced Shell functionality to provide basic features required in iOS and Android apps, but many mobile developers are clamoring for Universal Windows Platform (UWP) support to be added.

Shell, which debuted in v4.0 in May, automatically provides fundamental features that most mobile applications require, thus reducing the complexity of mobile application development. These features include:

  • A single place to describe the visual hierarchy of an application.
  • A common navigation user experience.
  • A URI-based navigation scheme that permits navigation to any page in the application.
  • An integrated search handler.
Shell App Featuring a Flyout for Top-Level Navigation
[Click on image for larger view.] Shell App Featuring a Flyout for Top-Level Navigation (source: Microsoft).

In announcing the general availability of Xamarin.Forms 4.2 on Wednesday (Aug. 21), the dev team's Paul DiPietro noted enhancements to the popular feature. "Since its launch in Xamarin.Forms 4.0.0, Shell has been a huge hit with developers," DiPietro said. "Shell gives you a way to simplify their application structure and navigation from a streamlined API. Xamarin.Forms 4.2.0 introduces new APIs to give you more control over the lifecycle of the pages in your app. This includes some brand-new events implemented on the BaseShellItem for Appearing and Disappearing along with new methods for OnAppearing and OnDisappearing."

However, at the bottom of the post, several developers asked for UWP support also. Even though Microsoft's Windows Phone initiative has died as a mobile alternative to iOS and Android, UWP apps are still used on Windows 10 devices, such as tablets.

UWP support was requested in a March GitHub issue titled "Uwp Xamarin.Forms.Shell #5593" that stated: "Uwp Xamarin.Forms.Shell does not work correctly in uwp, the same way it works on android and ios." That issue has garnered 41 comments and spawned the pull request "Adds UWP support to Shell #6015."

Even though some developers are working on the issue, comments on DiPietro's blog post show it's still top-of-mind for several coders, who said things like:

  • "Still waiting on Shell support on Windows. Sigh."
  • "Yep it's the one thing stopping me from using Shell. And CollectionView. Shame as they both look great."
  • "A statement from Microsoft, if and when Shell will be available for UWP would be helpful. Currently I cannot use Schell because a UWP version is required."
  • "exactly!"
  • "Shell for UWP + Xaml hot reload of xamarin forms pages in UWP"
The CollectionView
[Click on image for larger view.] The CollectionView (source: Microsoft).

Neither DiPietro nor anyone else from Microsoft responded to those comments. One thing DiPietro did mention in his post, though, was the delayed general availability debut of the new CollectionView that was originally intended for Xamarin.Forms 4.2.

"Our roadmap listed the new CollectionView for official release in Xamarin.Forms 4.2.0," he said. "Your feedback during the CollectionView Challenge was important in highlighting the features you need most. This included pull-to-refresh functionality, header/footer templates, and several others.

"Development has come a long way, but we want to make sure you have the best possible experience when using CollectionView. So at this time we are going to keep CollectionView under the Experimental flag in this release."

More information on Xamarin.Forms 4.2 is available in the release notes.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus

Featured

  • 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