What method is used to inflate the given XML resource and add the preference hierarchy to the current preference hierarchy?

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

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments