Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
kpmmmurphy committed Feb 20, 2017
1 parent 2e76081 commit 511ad14
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

### General

[ ![Download](https://api.bintray.com/packages/tapadoo/maven/alerter/images/download.svg) ](https://bintray.com/tapadoo/maven/alerter/_latestVersion)

[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Alerter-blue.svg?style=flat)](https://android-arsenal.com/details/1/5302)

This library aims to overcome the limitations of Toasts and Snackbars, while reducing the
complexity of your layouts.

Expand All @@ -10,10 +14,6 @@ complexity of your layouts.
A customisable Alert view is dynamically added to the Decor View of the Window, overlaying
all content.

[ ![Download](https://api.bintray.com/packages/tapadoo/maven/alerter/images/download.svg) ](https://bintray.com/tapadoo/maven/alerter/_latestVersion)

[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Alerter-blue.svg?style=flat)](https://android-arsenal.com/details/1/5302)

## Gradle

```groovy
Expand Down Expand Up @@ -126,13 +126,13 @@ Alerter.create(this)
```java
Alerter.create(ExampleActivity.this)
.setTitle("Alert Title")
.setOnShownListener(new OnShowAlertListener() {
.setOnShowListener(new OnShowAlertListener() {
@Override
public void onShow() {
Toast.makeText(ExampleActivity.this, "Alert Shown", Toast.LENGTH_LONG).show();
}
})
.setOnHiddenListener(new OnHideListener() {
.setOnHideListener(new OnHideListener() {
@Override
public void onHide() {
Toast.makeText(ExampleActivity.this, "Alert Hidden", Toast.LENGTH_LONG).show();
Expand Down

0 comments on commit 511ad14

Please sign in to comment.