public int getCurrentFrameIndex() {
        return framePointer;
    }
Gets the current index of the animation frame, or -1 if animation hasn't not yet started.

@return frame index.
core/src/main/java/com/bumptech/glide/gifdecoder/GifDecoder.java