When to use getString()

Viewed 10155

I am wondering about the getString(). I can see that doing getString(R.string.some_text) works. Also getResources().getString(R.string.connection_error) works. So my question is why should we use the getString or when? Thanks!

5 Answers
Related