Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
iOS
 
 
 
 
 
 
 
 
 
 

Fuse-Lottie

Requirements

Fuse 1.10+

Install

  1. Add this source as a project of your fuse project e.g. MyApp/Projects/Fuse-Lottie.
  2. Add the following lines to your .unoproj, taking into account your project directory.
  "Projects": [
    "Projects/Fuse-Cocoapods/cocoapods_include.unoproj",
    "Projects/Fuse-Lottie/Lottie.unoproj"
  ]
  1. Install this version of BodyMovin for use with Lottie v2.5.3

Usage

  1. Copy your .json animations into a folder such as MyApp/Assets/Animations
  2. Add the following to your .unoproj to bundle the animations
"Includes": [
  "Assets/Animations/*.json:Bundle"
]
  1. Add the component to your UX markup (note: it will work on the device)
<NativeViewHost Width="100%" Height="320">
	<RBT.Animation.Lottie ux:Name="myPlayer" File="{urlToJSON}" ContentMode="{contentMode}" LoopAnimation="{loopAnimation}" Play="{play}" Pause="{pause}" Stop="{stop}" Progress="{progress}" AutoReverseAnimation="{autoReverseAnimation}" AnimationCompleted="{animationCompleted}" />
</NativeViewHost>

See Full Example App for available options.

Some Lottie Animation Notes

About

Fuse Open implementation of Lottie Animation(http://airbnb.io/lottie)

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages