Forked from anonymous/New method in MainActivity.java
Created
November 15, 2016 20:42
-
-
Save pbasl/e9bde35e86ec89d0ba64701e5b5b6eb5 to your computer and use it in GitHub Desktop.
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 characters
/** | |
* This method displays the given text on the screen. | |
*/ | |
private void displayMessage(String message) { | |
TextView priceTextView = (TextView) findViewById(R.id.price_text_view); | |
priceTextView.setText(message); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment