Skip to content

Commit 4e7cb71

Browse files
updates README
1 parent c0efce4 commit 4e7cb71

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.markdown

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,20 @@ The API is kept as simple as the Toast API:
2929

3030
Create a Crouton for any CharSequence:
3131

32-
Crouton.makeText(Activity, CharSequence, [Style]).show();
32+
Crouton.makeText(Activity, CharSequence, Style).show();
3333

3434
Create a Crouton with a String from your application's resources:
3535

3636
Crouton.makeText(Activity, int, Style).show();
3737

38-
Further you can attach a Crouton to any view like this:
38+
Further you can attach a Crouton to any ViewGroup like this:
3939

4040
Crouton.makeText(Activity, int, Style, int).show();
4141

42+
Crouton.makeText(Activity, int, Style, ViewGroup).show();
43+
44+
Also `Crouton.show(...)` methods are available for convenient fire and forget display of Croutons.
45+
4246
If you would like a more graphical introduction to Crouton check out [this presentation](https://speakerdeck.com/keyboardsurfer/crouton-devfest-berlin-2012).
4347

4448
##Important!

0 commit comments

Comments
 (0)