I read about String Resources and I understood that you simply use the getString(...)
method in order to read the value of a string from res/values/string.xml
. Then I read that you can also use getResources().getString(...)
.
What is the difference between these two ways of obtaining the value of a string?