Skip to content

Samples that demonstrate how to use various Prism features with Xamarin.Forms

Notifications You must be signed in to change notification settings

negberts/Prism-Samples-Forms

 
 

Repository files navigation

Prism Samples Forms

Samples that demonstrate how to use various Prism features with Xamarin.Forms.

Solution Description
UsingCompositeCommands How to use CompositeCommands to invoke commands in multiple unrelated ViewModels from a single interaction.
UsingPlatformSpecificServices How to use Prism to auto inject platform specific dependencies that are registered with the IPlatformInitializer.
UsingPageDialogService How to use the IPageDialogService to display alerts and action sheets from within your ViewModels.
UsingModules How to use Prism modularization to separate the application logic using IModule, IModuleManager, ModuleCatalog.
UsingEventAggregator How to use the IEventAggregator to raise and listen to events. This shows how to use a simple event with a primitive type payload, generic event with payload , and event with custom EventArgs. It also demonstrated how to subscribe to events published in Xamarin.Forms inside native code.
TabbedNavigation How to handle TabbedPages. This shows the use of IActiveAware on all Tabbed Children to handle the Switching Tabs, as well as initialization with INavigatingAware, and a strategy for Dynamic Loading of Children in the TabbedPage.
ContosoCookbook Contoso Cookbook is a classic Microsoft sample recipe app; first adapted for Xamarin.Forms by Jeff Prosise in 2015 and now updated to use Prism for Xamarin.Forms. Demonstrates how to use a TabbedPage with a DataTemplate for the tabs, and a ListView with DataTemplate for the recipe list on each tab; for a clean professional-looking UI.

About

Samples that demonstrate how to use various Prism features with Xamarin.Forms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%