Package pl.droidsonroids.gif
Animated GIF library for Android.
See: Description
-
Class Summary Class Description GifOptions Options controlling various GIF parameters similar to android.graphics.BitmapFactory.Options GifTextView A TextView which handles GIFs as compound drawables. GifTexImage2D Provides support for animated GIFs in OpenGL. GifImageView An ImageView which tries treating background and src as GifDrawable GifDrawableInit The base class for using the builder pattern with subclasses. GifDrawableBuilder Builder for pl.droidsonroids.gif.GifDrawable which can be used to construct new drawables by reusing old ones. GifImageButton An ImageButton which tries treating background and src as GifDrawable GifIOException Exception encapsulating GifErrors. GifDecoder GifDecoder allows lightweight access to GIF frames, without wrappers like Drawable or View. GifTextureView TextureView which can display animated GIFs. GifDrawable A Drawable which can be used to hold GIF images, especially animations. DirectByteBufferSource Input using ByteBuffer as a source. ByteArraySource Input using byte array as a source. FileSource Input using File or path as source. UriSource Input using Uri as source. AssetSource Input using android asset as source. FileDescriptorSource Input using FileDescriptor as a source. InputStreamSource Input using InputStream as a source. ResourcesSource Input using android resource (raw or drawable) as a source. AssetFileDescriptorSource Input using AssetFileDescriptor as a source. InputSource Abstract class for all input sources, to be used with GifTextureView MultiCallback Callback which allows single Drawable to be associated with multiple callbacks, eg. LibraryLoader Helper used to work around native libraries loading on some systems. GifAnimationMetaData Lightweight version of pl.droidsonroids.gif.GifDrawable used to retrieve metadata of GIF only, without having to allocate the memory for its pixels. -
Interface Summary Interface Description PlaceholderDrawListener This listener can be used to be notified when the GifTextureView content placeholder can be drawn.Placeholder is displayed before proper input source is loaded and remains visible when input source loading fails. AnimationListener Interface which can be used to run some code when particular animation event occurs. -
Enum Summary Enum Description GifError Encapsulation of decoding errors occurring in native code.