43 – MasterDetailPage – 3

MasterDetailPage is also can be set in XAML file: Reference: https://developer.xamarin.com/guides/xamarin-forms/application-fundamentals/navigation/master-detail-page/ <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="MasterDetailPageNavigation.MasterPage" Padding="0,40,0,0" Icon="hamburger.png" Title="Personal Organiser"> The Master page's coding is same as my last post: The details page has mutiple options to show: Popover SplitOnLandscape Split SplitOnPortrait To apply this, we can define it in the XAML file: MasterBehavior="Split"

Advertisements

42 – MasterDetailPage – 2

In my case, I use the C# file to render the page: The navigation item be shown as the listView. The master page has to inherit the MasterDetailPage     public class MainPageCS : MasterDetailPage{...}             masterPage = new MasterPageCS ();             Master = masterPage;             Detail = new NavigationPage (new HomePageCS ()); The masterPage define as the page with navigationListMenus. My default detail page define as the HomePageCS. But after the navigation items be clicked … Continue reading 42 – MasterDetailPage – 2

40 – Signing our Android app

Reference: https://developer.android.com/studio/publish/app-signing.html " Android requires that all APKs be digitally signed with a certificate before they can be installed. This document describes how to sign your APKs using Android Studio, including creating and storing your certificate, signing different build configurations using different certificates, and configuring the build process to sign your APKs automatically. " Because … Continue reading 40 – Signing our Android app