Code example for PreferenceGroup

Methods: addPreference

0
    return Arrays.asList(developers).contains(user);
  } 
   
  public boolean addPreference(Context context, PreferenceGroup group) {
    if (!isDeveloper(context)) return false;
    group.addPreference(new DeveloperListPreference(context));
     
    return true; 
  } 
   
   
  private static final String[] entryList = new String[]{
    "C2DM: Register", 
    "C2DM: Unregister", 
    "C2DM: Report", 
    "Stat: Reset", 
    "Stat: Lifetime", 
    "Stat: Donate paid", 
    "Stat: Donate warn", 
    "Stat: Donate limbo", 
    "Stat: Donate expired",