Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example how to implement a token generator in Xamarin.Forms Applications. - http://julianocustodio.com/token
<?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:local="clr-namespace:DemoToken"
x:Class="DemoToken.MainPage">
<StackLayout Padding="10">
<Label Text="{Binding Codigo}"
FontSize="64" TextColor="Blue"
HorizontalTextAlignment="Center"
HorizontalOptions="CenterAndExpand"/>
<Label Text="{Binding Segundos}"
FontSize="11" TextColor="Black"
HorizontalTextAlignment="Center"
HorizontalOptions="CenterAndExpand"/>
</StackLayout>
</ContentPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.