I need to get String from resources in some place where Context
object not available. I can pass context object as parameter and get string from resources like this:
context.getString(R.string.some_string);
But i also can use My Application (extends Application)
instance like this:
MyApplication.getInstance().getResources().getString(R.string.some_string)
Are there any disadvantages for second approach?