Skip to content

Instantly share code, notes, and snippets.

View abd3lraouf's full-sized avatar
🏠
Working from home

Abdelraouf Sabri abd3lraouf

🏠
Working from home
View GitHub Profile
/**
* This method displays the given price on the screen.
*/
private void displayPrice(int number) {
TextView priceTextView = (TextView) findViewById(R.id.price_text_view);
priceTextView.setText(NumberFormat.getCurrencyInstance().format(number));
}