Answers for "kotlin andoird string foramt"

1

kotlin variable in string

//Kotlin variable in string

//variables go in a ${} in a string, example
println("Happy ${age}th birdthday, ${name}!"
Posted by: Guest on October-08-2020
0

kotlin android string resource

println("My string is: ${R.string.my_string}")
Posted by: Guest on May-15-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language