Skip to content

Instantly share code, notes, and snippets.

@juucustodio
Created July 20, 2019 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juucustodio/e56dc9cea3c5f5fb23833bc11e781845 to your computer and use it in GitHub Desktop.
Save juucustodio/e56dc9cea3c5f5fb23833bc11e781845 to your computer and use it in GitHub Desktop.
Example of how to use Feature Toggle in your Xamarin.Forms applications.
<?xml version="1.0" encoding="utf-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
x:Class="DemoFeatureToggle.MainPage">
<StackLayout>
<Button Text="Verify" Clicked="Handle_Clicked" x:Name="BtnVerify" />
<Label x:Name="LblResult" HorizontalTextAlignment="Center"/>
</StackLayout>
</ContentPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment