Skip to content
Android lib for colored Snackbars
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
gradle/wrapper
snackalert
.gitignore
LICENSE
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle
snackalert.gif

README.md

SnackAlert

A small library to show context colored snackbar's.

Screencast

Download

It's currently published via jitpack

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

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

and then the dependecy:

dependencies {
	compile 'com.github.Cir0X:snackalert:0.3'
}

Usage

SnackAlert.success(view, "success");

SnackAlert.error(view, "error");

SnackAlert.info(view, "info");

SnackAlert.custom(view, "custom", Color.RED, Color.BLUE);

SnackAlert.longSuccess(view, "long success");

SnackAlert.longError(view, "long error");

SnackAlert.longInfo(view, "long info");

SnackAlert.longCustom(view, "long custom", Color.RED, Color.BLUE);
You can’t perform that action at this time.