/Alerter

An Android Alerting Library

Primary LanguageJavaMIT LicenseMIT

Alerter with image loading from url

This is my fork of Alerter library by Tapadoo that enables you to set icon to url of an image and change the text color.

Added dependencies:

Added methods:

/**
     * Set the Alert's Icon
     *
     * @param url The Image's URL
     * @return This Alerter
     */
    public Alerter setIcon(final String url)
/**
     * Set Alert's text color
     *
     * @param colorId The color's resource id
     * @return This Alerter
     */
    public Alerter setTextColor(@ColorRes final int colorId)

Additional changes:

Set pulsing to false by default

private boolean enableIconPulse = false;

How to install:

dependencies {
	        compile 'com.github.lewinskimaciej:Alerter:1.0.4'
	}