Based on https://github.com/Flipboard/FLAnimatedImage
Not so powerful as Lottie, but more simple.
Installation: Library.zip.
Source code (for whom is interesting) - XCode.zip.
How to use ...
Declare an object Private gif As GifView and intialize it, for example, gif.Initialize (File.DirAssets, "MyGif.Gif", Page1.RootPanel, 100, 100, 500, 300, True)
If you want to replace a picture, initialize again with another parameters. If you want to free resources only, use Release method.
Simple Demo --
To change a picture, rotate a phone.
Not so powerful as Lottie, but more simple.
Installation: Library.zip.
Source code (for whom is interesting) - XCode.zip.
How to use ...
Declare an object Private gif As GifView and intialize it, for example, gif.Initialize (File.DirAssets, "MyGif.Gif", Page1.RootPanel, 100, 100, 500, 300, True)
If you want to replace a picture, initialize again with another parameters. If you want to free resources only, use Release method.
Simple Demo --
To change a picture, rotate a phone.
Attachments
Last edited: