I noticed that the Activity class has two different methods to get a String resource. This is possible by using:
Activity
getString(int resId)
In Fragments you can use also getString() instead of getActivity().getString()
getString()
getActivity().getString()
They are the same method, nothing special about them.
They are the same as Activity.getString(int) does exactly that:
public final String getString(int resId) { return getResources().getString(resId); }