Skip to content
forked from Cutta/GifView

[DEPRECATED] Library for playing gifs on Android

Notifications You must be signed in to change notification settings

liang1024/GifView

 
 

Repository files navigation

Android Arsenal

Deprecated

GifView is deprecated. No more development will be taking place. For an up-to-date gif lib use Glide.

Thanks for all your support!

GifView

Library for playing gifs on Android

Simple android view to display gifs efficiently. You can start, pause and stop gifView. Example usages can be found in example project.

Inspired by sbakhtiarov/gif-movie-view

Screen

Usage

<cuneyt.example.com.gifview.Utils.GifView
            android:id="@+id/gif1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:visibility="gone"
            custom:gif="@mipmap/gif1" />
          GifView gifView1 = (GifView) view.findViewById(R.id.gif1);
                 gifView1.setVisibility(View.VISIBLE);
                   gifView1.setPaused(true);
                   gifView1.setMovie(movie);
                   gifView1.setMovieResource(resource);
                   gifView1.setMovieTime(time);
                   gifView1.getMovie();

#Sample APK https://www.dropbox.com/s/a4rl91lmlm6loj0/base%20%281%29.apk?dl=0

#License Copyright 2015 Cüneyt Çarıkçi.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http:https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

[DEPRECATED] Library for playing gifs on Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Java 100.0%