Skip to content

amspayam/AlertView-Android

Repository files navigation

AlertView-Android

Android Library to show a beautiful Alert View
Android Arsenal
Minimum API 17

alt tag

Sample project

Usage:

Step 1

Add JitPack repository in your root build.gradle at the end of repositories.

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

Add dependency in your app level build.gradle.

dependencies {
        compile 'com.github.amspayam:AlertView-Android:1.2.0'
}

Step 2

use in Java Code

new AlertView().show(context, stringMessage, AlertView.STATE_ERROR);
new AlertView(context, stringMessage, AlertView.STATE_RELOAD) {
    @Override
    public void onRefresh() {
        super.onRefresh();
        //Methods you need to call on reload click
    }
};

About

Android Library to show a beautiful Alert View

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages