Code example for PreferenceManager

Methods: findPreference

0
     */ 
    public Preference findPreference(CharSequence key) {
        if (mPreferenceManager == null) {
            return null; 
        } 
        return mPreferenceManager.findPreference(key);
    } 
     
    public void setOnPreferenceAttachedListener(OnPreferenceAttachedListener listener) {
    	this.listener = listener;
    } 
     
    public interface OnPreferenceAttachedListener{ 
        public void onPreferenceAttached(PreferenceScreen root, int xmlId);
    } 
     
}