get string android code example
Example 1: android studio get string
val myString = getString(R.string."myStringID")
Example 2: how to get string value in java in android
String str =getResources().getString(R.string.mess_1);
val myString = getString(R.string."myStringID")
String str =getResources().getString(R.string.mess_1);