Created
February 19, 2016 22:58
Revisions
-
shannah created this gist
Feb 19, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ Status status = StatusBar.getInstance().createStatus(); status.setMessage("Hello world"); status.show(); //... Some time later you must clear the status status.clear(); This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ Status status = StatusBar.getInstance().createStatus(); status.setMessage("Hello world"); status.setShowProgressIndicator(true); status.show(); // ... Some time later you must clear it status.clear(); This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ Status status = StatusBar.getInstance().createStatus(); status.setMessage("Hello world"); status.setExpires(3000); // only show the status for 3 seconds, then have it automatically clear status.show(); This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ Status status = StatusBar.getInstance().createStatus(); status.setMessage("Hello world"); status.showDelayed(300); // Wait 300 ms to show the status // ... Some time later, clear the status... this may be before it shows at all status.clear();