In a class extended PreferenceFragmentCompat. What method is used to inflate the given XML resource and add the preference hierarchy to the current preference hierarchy?
A. findPreference
B. getPreferenceManager
C. addPreferencesFromResource
D. setPreferenceScreen