Package pl.droidsonroids.gif
Animated GIF library for Android.
See: Description
-
Class Summary Class Description GifTextView A TextView which handles GIFs as compound drawables. GifImageButton An ImageButton which tries treating background and src as GifDrawable GifImageView An ImageView which tries treating background and src as GifDrawable GifDecoder GifDecoder allows lightweight access to GIF frames, without wrappers like Drawable or View. 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 GifDrawable A Drawable which can be used to hold GIF images, especially animations. GifDrawableInit The base class for using the builder pattern with subclasses. GifTexImage2D Provides support for animated GIFs in OpenGL. GifIOException Exception encapsulating GifErrors. GifOptions Options controlling various GIF parameters similar to android.graphics.BitmapFactory.Options GifAnimationMetaData Lightweight version of pl.droidsonroids.gif.GifDrawable used to retrieve metadata of GIF only, without having to allocate the memory for its pixels. GifDrawableBuilder Builder for pl.droidsonroids.gif.GifDrawable which can be used to construct new drawables by reusing old ones. MultiCallback Callback which allows single Drawable to be associated with multiple callbacks, eg. GifTextureView TextureView which can display animated GIFs. LibraryLoader Helper used to work around native libraries loading on some systems. -
Enum Summary Enum Description GifError Encapsulation of decoding errors occurring in native code. -
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.