Code example for Context

Methods: getString

0
            } 
        } 
    } 
 
    final void addOnPreferenceChangeInternalListener( 
            OnPreferenceChangeInternalListener listener) {
        if (mListeners == null) {
            mListeners = new SparseArray<OnPreferenceChangeInternalListener>(1);
        } 
        for (int i = 0; i < mListeners.size(); i++) {
            if (mListeners.valueAt(i) == listener) {
                return; 
            } 
        } 
        mListeners.put(mListeners.size(), listener);
    } 
 
    public boolean shouldCommit() { 
        if (mPreferenceManager == null) {
            return false; 
        }