Skip to content

Commit

Permalink
Adds hint to #24 to README
Browse files Browse the repository at this point in the history
  • Loading branch information
keyboardsurfer committed Dec 9, 2012
1 parent 3e88446 commit f7de9df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ Create a Crouton with a String from your application's resources:

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

You can also cancel scheduled Croutons by calling:
####Important! In your Activity.onDestroy() make sure to call

Crouton.cancelAllCroutons();

####to cancel cancel all scheduled Croutons.
This is a workaround and described in #24.

### Examples
Currently you can use the three different Style attributes displayed below out of the box:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*/
final class Manager extends Handler {
private static final class Messages {
private Messages() { /* noop */
private Messages() { /* no-op */
}

public static final int DISPLAY_CROUTON = 0xc2007;
Expand Down

0 comments on commit f7de9df

Please sign in to comment.