Almost two years ago I wrote an article about how to update your project to Prism 7.0. Since then there have been a lot of changes introduced in Prism, so in this article, I’ll be doing a recap of versions 7.1 and 7.2. Version 7.1 Using INavigationParameters instead of NavigationParameters If you updated your project […]
Using IDialogService on Prism in Xamarin Forms
To show a dialog in Prism we have the pre-registered service IPageDialogService, but what happens when you want to show a custom dialog? In version 7.2 they introduced the IDialogService which is a pre-registered service that allows you to show custom dialogs. Let’s use it step by step 1.Create a view with your custom design […]
Prism: from Zero to Hero in Xamarin.Forms
On April 9th I had the opportunity to give a talk with Rendy Del Rosario about Prism from Zero to Hero in Xamarin Forms, the event was hosted by DotNetters in Zaragoza – Spain. In this talk we covered the following topics: What’s Prism? Benefits to use it Config a new project Connect Views/ViewModels Navigation/Services […]
IOS 11 support in Xamarin Forms + Prism
iOS 11 has a new UI design which include two main changes: Safe area and large titles. The importance of adding support to this in our apps is to respect the platform conventions and also if you don’t add the Safe area it won’t respect the borders in iPhoneX. Some time ago David Ortinau posted a […]
Updating to Prism 7.0 for Xamarin Forms
Recently Prism for Xamarin Forms has released the version 7.0, which is a great one with lots of improvements. If you have an older version you will see there’s a lot of breaking changes when trying to update your project. In this article, I’m going to guide you step by step by applying the changes needed for […]
Prism in Xamarin Forms Step by Step (Part. 4)
In the third part of this series about Prism, we talked about Modules, Event Aggregator and EventToCommand. This time we will learn about how to use other page types like MasterDetailPage and TabbedPage. Master Detail Page Creating a Master detail page in Prism is really simple, you just have to create a new page that […]
Prism in Xamarin Forms Step by Step (Part. 3)
In the second part of this series about Prism, we talked about Deep linking, Delegate Commands, Platform services, etc. In this article, we will learn about more interesting concepts: Modules, Event Aggregator and EventToCommand. Event Aggregator Let’s say you have an application in which there’s a specific part of your code where you want to […]
Prism in Xamarin Forms Step by Step (Part. 2)
In the first part of this series of articles about Prism, we started by showing the first steps, learning how to install it, register pages and services, basic navigation between pages, passing parameters, etc. In this article, we will continue talking about some more advanced topics on Navigation and also will show some handy stuff […]
Prism in Xamarin Forms Step by Step (Part. 1)
In this article, I will explain to you in a very simple way what Prism is, how to use it, and what you can do with it. This article will include: An overview of what Prism is How to set up How to connect Views with ViewModels How to navigate and different types of navigation […]