code: @Nullable
      public final Resources getResources() {
          Activity activity = getActivity();
          return activity != null ? activity.getResources() : null;
      }
docs: Returns the Resources from the host Activity or {@code null} if this Controller has not
  yet been attached to an Activity or if the Activity has been destroyed.