This is how you set the height and width to fill the screen in your Xamarin Forms app. Using Xamarin Essentials, get the device's height and width. var mainDisplayInfo = DeviceDisplay.MainDisplayInfo; …
If you have images that get loaded from a REST API that don't often change like a user's profile picture and you don't want to have a delayed rendering you…
This is how I pass data from a parent page to a details page using Xamarin Forms and a ListView On my MainPage.xaml file I have a ListView control populated…
If you ever need to access data or other content such as images, video, audio or other files that are NOT on an SSL secured (http://) website or web service,…
Sometimes when developing mobile apps in Xamarin Forms, I use WordPress as the backend. And in WordPress I will usually make my own custom post types. This is an example…
Here is sample code using WordPress and PHP to send a push notification to your mobile application using the OneSignal API. Create a free account on https://onesignal.com/ and get your…
Here is a sample code using PHP to send a push notification to your mobile application using the OneSignal API. Create a free account on https://onesignal.com/ and get your OneSignal…
Here is a sample code using C# to send a push notification to your mobile application using the OneSignal API. Create a free account on https://onesignal.com/ and get your OneSignal AppID…
Do you have a Wordpress website and need to connect it to you Xamarin mobile application? By "connect" I mean: User Creation User Roles Login View Post or Page Add…
This is how I add a custom pin using Xamarin Forms Maps with no additional Nuget packages other than Xamarin.Forms.Maps If you havent already, then download the Xamarin Forms Master…
This is how I use Xamarin Forms Essentials Preferences to save and get data. I use to store non sensitive stuff like URLs, Names, IDs, Dates. I add the Xamarin.Essentials…
This is how I create a Xamarin Forms Show/Hide password entry in my login screens. Im using an MVVM pattern approach but you could use standard click events as well.…
This is how I use Xamarin Forms MVVM and SQLite. Create ViewModels for each page (view) you have and make sure each ViewModel inherits the BaseViewModel (#7 below). In my…
This is how I add custom pin icons using Xamarin Forms Xamarin.Forms.GoogleMaps. On my MainPage view: 1. I create the Map in my Xaml. I use the Xamarin.Forms.GoogleMaps Nuget. 2.…
This is how I add a Splash Screen in my Xamarin Forms apps Create a new ContentPage ie Splash.xaml Set the MainPage in your App.xaml.cs file to MainPage = new…
This is how I upload an image in Xamarin Forms to a PHP site Xamarin Forms Page using Plugin.Media; using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.IO; using…