Class GifDrawableEncoder

    • Constructor Detail

      • GifDrawableEncoder

        public GifDrawableEncoder()
    • Method Detail

      • encode

        public boolean encode​(@NonNull
                              Resource<GifDrawable> data,
                              @NonNull
                              java.io.File file,
                              @NonNull
                              Options options)
        Description copied from interface: Encoder
        Writes the given data to the given output stream and returns True if the write completed successfully and should be committed.
        Specified by:
        encode in interface Encoder<Resource<GifDrawable>>
        Parameters:
        data - The data to write.
        file - The file to write the data to.
        options - The set of options to apply when encoding.