Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example of how use animations with Lottie in Xamarin.Forms applications - http://julianocustodio.com/lottie
<?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:DemoLottie"
xmlns:forms="clr-namespace:Lottie.Forms;assembly=Lottie.Forms"
x:Class="DemoLottie.MainPage">
<StackLayout>
<forms:AnimationView
x:Name="animationView"
Animation="xamarin_logo_2.json"
Loop="true"
AutoPlay="true"
HorizontalOptions="Center"
VerticalOptions="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.