May I ask what's the different between
getResources().getString(R.string.my_string);
and
getString(R.string.my_string);
and also just
R.string.my_string;
I know that both return different value
for example:
textView.setText(getResources().getString(R.string.my_string));
textView.setText(getString(R.string.my_string));
textView.setText(R.string.my_string);
I have try this three ways
all works
but I wonder to know why