Code example for PreferenceGroup

Methods: addPreference