07-20-2023, 12:57 PM
you can access string value in kotlin by
val string:String = resources.getString(R.string.variable_name)
or use
val string: String = getString(R.string.variable_name)
For more details, you can refer to the [Android developer documents][1]
[1]:
val string:String = resources.getString(R.string.variable_name)
or use
val string: String = getString(R.string.variable_name)
For more details, you can refer to the [Android developer documents][1]
[1]:
[To see links please register here]