Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example of how to use MessagingCenter in Xamarin.Forms applications. - https://julianocustodio.com/messagingcenter
<?xml version="1.0" encoding="utf-8"?>
<TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:DemoMessagingCenter"
x:Class="DemoMessagingCenter.MainPage"
BarBackgroundColor="#2196F3"
BarTextColor="White"
xmlns:android="clr-namespace:Xamarin.Forms.PlatformConfiguration.AndroidSpecific;assembly=Xamarin.Forms.Core"
android:TabbedPage.ToolbarPlacement="Bottom">
<TabbedPage.ToolbarItems>
<ToolbarItem x:Name="ContItem" Text="0"/>
</TabbedPage.ToolbarItems>
<local:AddPage Title="Add"/>
<local:ListPage Title="List"/>
</TabbedPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment