AlertView

Additional

Language
Java
Version
1.2.0 (Mar 3, 2018)
Created
Sep 25, 2017
Updated
Mar 3, 2018
Owner
Payam (amspayam)
Contributor
Payam (amspayam)
1
Activity
Badge
Generate
Download
Source code
APK file

Blurb

AlertView-Android

Android Library to show a beautiful Alert View

Minimum API 17



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
    }
};