All Projects → adhishlal → Gifloader

adhishlal / Gifloader

An Android Library to load your GIF files

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Gifloader

Csspin
CSS Spinners and Loaders - Modular, Customizable and Single HTML Element Code for Pure CSS Loader and Spinner
Stars: ✭ 1,019 (+2581.58%)
Mutual labels:  library, loader
Funnyloader
Loading indicator for android with over 200 random messages
Stars: ✭ 77 (+102.63%)
Mutual labels:  library, loader
Imageviewer
A simple and customizable Android full-screen image viewer 一个简单且可自定义的Android全屏图像浏览器
Stars: ✭ 1,889 (+4871.05%)
Mutual labels:  gif, viewer
Gifsee.js
A modern, vanilla JavaScript gif previewer and loader.
Stars: ✭ 48 (+26.32%)
Mutual labels:  gif, loader
Slidingsquareloaderview
Marvelous sliding square loader view
Stars: ✭ 166 (+336.84%)
Mutual labels:  library, loader
Gifdec
small C GIF decoder
Stars: ✭ 100 (+163.16%)
Mutual labels:  library, gif
Dotsloaderview
Simple dots loader view
Stars: ✭ 63 (+65.79%)
Mutual labels:  library, loader
favloader
Vanilla JavaScript library for loading animation in favicon (favicon loader)
Stars: ✭ 20 (-47.37%)
Mutual labels:  loader, gif
Gifenc
small C GIF encoder
Stars: ✭ 164 (+331.58%)
Mutual labels:  library, gif
Ts3admin.class
The ts3admin.class is a powerful api for communication with Teamspeak 3 Servers from your website! Your creativity knows no bounds!
Stars: ✭ 103 (+171.05%)
Mutual labels:  library, viewer
Jsontreeviewer
json formatter/viewer/pretty-printer (with jsonTree javascript-library)
Stars: ✭ 211 (+455.26%)
Mutual labels:  library, viewer
Jvedio
Windows desktop application to manage local video;Support baidu AI, youdao translation;Support FFMPEG video processing;Support multi-database management and statistics;Support skin switching
Stars: ✭ 545 (+1334.21%)
Mutual labels:  library, gif
Imterm
c++17 header only library implementing a terminal for imgui applications
Stars: ✭ 36 (-5.26%)
Mutual labels:  library
Hellobooks
A Single-Page Library Management App built with nodejs, express and react and redux
Stars: ✭ 37 (-2.63%)
Mutual labels:  library
Autoplayvideos
Android library to auto-play/pause videos from url in recyclerview.
Stars: ✭ 981 (+2481.58%)
Mutual labels:  library
Handle Path Oz
Android Library to handle multiple Uri's(paths) received through Intents.
Stars: ✭ 36 (-5.26%)
Mutual labels:  library
Blink Mind React
A mind map library for react that based on immutable.js.
Stars: ✭ 38 (+0%)
Mutual labels:  library
Mythra
Music retrieval CLI and API using rust
Stars: ✭ 37 (-2.63%)
Mutual labels:  library
Hhcustomcorner
Awesome library to customize corners of UIView and UIButton. Now you can customize each corner differently
Stars: ✭ 36 (-5.26%)
Mutual labels:  library
Versioncontrol git
VersionControl_Git is a library that provides OO interface to handle Git repository.
Stars: ✭ 35 (-7.89%)
Mutual labels:  library

Image

Android GIF Viewer/Loader

Loading GIF files with animations have always been a challenge when we code for Android devices. Seeing this problem by most of the Android Developers across the globe, I thought of publishing a GIF loader library.

Now to load the GIF images into your Android Application, all you need to do is add a dependency to your app level gradle.build along with the jitpack configuration:

Installing

  1. Add it in your root build.gradle at the end of repositories:
	allprojects {
		repositories {
			...
			maven { url 'https://www.jitpack.io' }
		}
	}
  1. Step 2. Add the dependency
	dependencies {
	        compile 'com.github.adhishlal:gifloader:1.1'
	}

Next, go to your XML file wherever you want to show the GIF file along with the animation and add the following widget

        <lal.adhish.gifprogressbar.GifView
            android:id="@+id/progressBar"
            android:layout_width="@dimen/_50dp"
            android:layout_centerInParent="true"
            android:layout_margin="@dimen/_5sdp"
            android:layout_height="@dimen/_50dp"
            android:layout_gravity="center" />

Once this is done, open your Java class where you are inflating the above widget’s layout and initialise this as shown below and also set the GIF image resource which you want to show:

GifView pGif = (GifView) findViewById(R.id.progressBar);
pGif.setImageResource(R.drawable.loader);

Bravo! You just did it.

Just compile and run your code.👍

Show Some ❤️

GitHub stars GitHub forks GitHub watchers GitHub followers Twitter Follow

Liked the work? [Buy me a cup of coffee] (https://www.paypal.me/AdhishLal) ☕️

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].