Xamarin Forms Overview

Are you new to Xamarin Forms or just wondering how it all connects together? This is a very quick and basic overview of the components and how they fit together. When you create a new Xamarin Forms solution you do 2 things. Create a common PCL that will contain all your views and app code. This […]

Read More »

Cheat Sheet For Xamarin.Forms Controls

Xamarin released a great cheat sheet over a year ago if you were going from Android to iOS to Windows Phone. It is great but doesn’t help if you are using Xamarin Forms because they have an entire different set of terminology for their controls. While it doesn’t take long to memorize them, for new […]

Read More »

Best Login Design Pattern in Xamarin.Forms

Xamarin start off by recommending that you show any login page via a PushModalAsync on the navigation stack. I never liked that because it would keep login and registration sequences in your main app navigation, even though I know you can’t go back to it. But it could also so a flicker when it goes […]

Read More »

Implementing the Push Notifications in Xamarin.Forms

Push notifications in Xamarin Forms is an interesting project and that is because each platform implements Push Notifications and the corresponding notifications (toasts) in a different way. I will show you here using Azure Notification Hubs and Xamarin Forms. You can develop your own code to interact with each notification service, however it is far […]

Read More »

Styling the screens in Xamarin.Forms

If you come from a web background you certainly want to know how to create a stylesheet of sorts to hold all of your UI styling information. As always, this is the XAML way. Creating your App.xaml.cs You will notice that by default you have an App.cs in your project. What you need to do […]

Read More »

Implementing Pull To Refresh with ListView in Xamarin.Forms

The Xamarin Forms ListView control has the ability to allow the user to pull down from the top of the ListView to trigger a refresh command. I say a refresh command, because the pull to refresh, just triggers a command and you can do whatever you want in that command, including not updating the ListView. Properties […]

Read More »

How to fix the Xamarin.Forms android app instantly closing with error as ‘Unfortunately, [App name] has stopped’ after deployment

Xamarin.Forms android app instantly closing with error after deployment. My application kept closing instantely after being deployed showing the following error: “Unfortunately, [App name] has stopped.” Fixing the issue The problem was in the csproj file. AndroidUseLatestPlatformSdk was set to true which was forcing the app to look for the latest sdk and the latest […]

Read More »

Xamarin Interview Questions and Answers

Introduction: It is time to learn xamarin cross platform development and people are already started in so many organizations, because of we can deliver native iOS, Android, and Windows apps using existing skills, teams, and code(C#, xaml ) with free of cost. Many company’s are started hiring the Xamarin developers, and if you are good […]

Read More »

How to comment the code in XAML Pages

XAML files are XML files, and XML is less forgiving than HTML, so you will need to make a copy of your element with the tag and comment it, and remove the tag from the original element. There is no commenting/uncommenting button in expression blend, if you want to try to comment your code block, […]

Read More »

How to add a splash screen to Xamarin Forms apps

Every Xamarin Forms app should ship with a splash screen, it is the first thing a user see and it contributes to reduce the perceived application boot time. Adding one is quite easy, let’s go from simpler to harder. The simpler: Windows Phone Just replace SplashScreenImage.jpg (720×1280 pixels) with your own app launch image in […]

Read More »