Skip to content

Commit

Permalink
update readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
SwiftyWang committed Nov 27, 2016
1 parent e9b26c5 commit 8e0e498
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Add it in your root build.gradle at the end of repositories:
Step 2. Add the dependency
```gradle
dependencies {
compile 'com.github.SwiftyWang:TopToastBar:1.1.2'
compile 'com.github.SwiftyWang:TopToastBar:1.1.3'
}
```

Expand All @@ -26,11 +26,11 @@ Toast style to use:
with container view:
```java
public void onBottomToast(View view) {
BottomToast.make((ViewGroup) findViewById(R.id.parent), context, "HELLO WORLD!!!!", 3000).show();
BottomToast.make((ViewGroup) findViewById(R.id.parent), "HELLO WORLD!!!!", 3000).show();
}

public void onTopToast(View view) {
TopToast.make((ViewGroup) findViewById(R.id.parent), context, "HELLO WORLD!!!!", 3000).show();
TopToast.make((ViewGroup) findViewById(R.id.parent), "HELLO WORLD!!!!", 3000).show();
}
```

Expand Down

0 comments on commit 8e0e498

Please sign in to comment.