Skip to content

Commit

Permalink
String templates
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzapico committed Apr 22, 2017
1 parent 267d095 commit 6d02be7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -16,7 +16,7 @@ class HomeActivity : AppCompatActivity() {

tvWelcomeMessage.setText(resources.getString(R.string.welcomeMessage))

showToastMessage(tvWelcomeMessage.text.toString())
showToastMessage("Hello ${tvWelcomeMessage.text}")
}

// Normal use
Expand Down

0 comments on commit 6d02be7

Please sign in to comment.