Adjacent Files

Project Info

. > app > src > main > java > james > asteroid > data > drawer > MessageDrawer.java

drawMessage

Type: public void

Display a new message! Gets a translated string resource then passes the string to the overloaded method which then does the actual thing.

Parameter Name Description
context An active context instance.
messageRes The string resource of the message to display.

drawMessage

Type: public void

Display a new message! Shows it on the screen for an amount of time, then fades out.

Parameter Name Description
message The message string to display.

clear

Type: public void

Clears all pending messages.