Git Product home page Git Product logo

awesomeprogressdialog-android's Introduction

Awesome Progress Dialog 📱

JitPack API

An animated progress dialog library for Android.

1. Style Loading Gears 2. Style Loading SandClocK 3. Style Loading Rocket

Site Map

Introduction

Awesome Progress Dialog is an animated progress dialog library for Android which is built by using beautiful Lottie animations. This library will be useful to create animated, rich, beautiful progress dialogs in Android apps easily.

Various dialogs

We offer various styles of progress dialog i.e. Simple Progress Dialog, Loading Gears Dialog, Loading Sandclock Dialog, Loading Ferris Wheel dialog, etc. To get all styles refer Different Styles of progress dialog.

Implementation

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Step 2. Add the dependency

dependencies {
	        implementation 'com.github.Abhay-cloud:AwesomeProgressDialog-Android:0.1'
	}

Usage

Java:

AwesomeProgressDialog progressDialog = new AwesomeProgressDialog(Context);
progressDialog.addTitle("Loading..."); // add your title here. 
// By default title is "Loading".
progressDialog.setStyle(AwesomeProgressDialog.STYLE_LOADING_SIMPLE);
// By default style is SIMPLE Loading style
// you can change it 
progressDialog.showDialog();

Set Different Styles

You can change style of dialog by using .setStyle method:

progressDialog.setStyle(AwesomeProgressDialog.STYLE_LOADING_FERRISWHEEL);

Current available styles:

  • STYLE_LOADING_SIMPLE
  • STYLE_LOADING_DOTS
  • STYLE_LOADING_TILES
  • STYLE_LOADING_GEARS
  • STYLE_LOADING_PLANE
  • STYLE_LOADING_ROCKET
  • STYLE_LOADING_FERRISWHEEL
  • STYLE_LOADING_SANDCLOCK
  • STYLE_LOADING_SCOOTER
  • STYLE_LOADING_DELIVERY
  • STYLE_LOADING_CART
  • STYLE_LOADING_WHEEL
  • STYLE_LOADING_EARTH
  • STYLE_LOADING_SPIDER
  • STYLE_LOADING_BARS
  • STYLE_LOADING_CIRCLE
  • STYLE_LOADING_CIRCLE2

Methods

  • .addTitle(String title);
progressDialog.addTitle("Loading...");
  • .hideTitle();
progressDialog.hideTitle();
  • .isCancelable(boolean val);
progressDialog.isCancelable(false);
  • .showDialog();
progressDialog.showDialog();
  • .setStyle(String style);
progressDialog.setStyle(AwesomeProgressDialog.STYLE_LOADING_FERRISWHEEL);
  • .dismissDialog();
progressDialog.dismissDialog();
  • .setNoInternet(String title); This method don't detect connection change. You'll have to call it in your custom internet detection code.
progressDialog.setNoInternet("Connection Lost");

Contributing

Contributions are always welcome!

Let's develop with collaborations. We would love to have contributions by raising issues.

Credits

This library is built by using:.

LICENSE

Project is published under the Apache 2.0 license. Feel free to clone and modify repository as you want, but don't forget to add reference to authors.

Connect with me

If you have any difficulty then just message me on Instagram or Telegram.

Made with ❤️ by Abhay

awesomeprogressdialog-android's People

Contributors

abhay-cloud avatar

Stargazers

Mert Salik avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.