Get all Preferences from PreferenceFragment
<p>In my Android application I have a <code>PreferenceFragment</code> which is build from a XML resource file. After the XML is loaded I would like to call a method for each <code>Preference</code> in the Fragment. My problem is that I haven't found a method which gives me all Preferences from the current <code>PreferenceFragment</code>.</p>

<p>I know that I can find a preference with the <code>findPreference(...)</code> method but I would like to get an iterator of all Preferences. Have a missed a method or aren't we able to get all Preferences?</p>