barisatalay/loadingindicatorview


Loading Indicator View Library

Download


Step 1. Add the JitPack repository to your build file

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

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.barisatalay:loadingindicatorview:'
	}
	dependencies {
		implementation("com.github.barisatalay:loadingindicatorview:")
	}
	<dependency>
	    <groupId>com.github.barisatalay</groupId>
	    <artifactId>loadingindicatorview</artifactId>
	    <version></version>
	</dependency>

                            
    libraryDependencies += "com.github.barisatalay" % "loadingindicatorview" % ""
        
        

                            
    :dependencies [[com.github.barisatalay/loadingindicatorview ""]]
        
        

Readme


LoadingIndicatorView Library

My purpose is to use the "AVLoadingIndicatorView" library more conveniently. here.

#Screen Shots All Indicators

alt tag

Type of BallPulseIndicator

alt tag

#Types

avi

Usage

Step 1

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

Step 2

Add dependencies in build.gradle.

    dependencies {
       compile 'com.github.barisatalay:loadingindicatorview:-SNAPSHOT'
    }

Step 3 (Use of library)

It's very simple use just like .

   //Parameter 1: Activity,
   //Paremeter 2: Message String or String resource Id
   //Parameter 3: Indicator Type   
   LoadingIndicatorView.show(mActivity, "Please Wait", LoadingType.BallPulseIndicator);
   
   //For hide Indicator View
   LoadingIndicatorView.hide();

   //For change text Indicator View
   //Paremeter: Message String / String resource Id
   LoadingIndicatorView.changeText("Downloading..");

Proguard

When using proguard need add rules:

-keep class com.wang.avi.** { *; }
-keep class com.wang.avi.indicators.** { *; }

Indicators is load from class names, proguard may change it (rename).

Thanks

##Contact me

If you have a better idea or way on this project, please let me know, thanks :)

Email

My Blog

My Linkedin