Code example for SharedPreferencesBackupHelper

0
 
    private static final String PREFS_BACKUP_KEY = "prefs";
 
    @Override 
    public void onCreate() { 
        final SharedPreferencesBackupHelper helper = new SharedPreferencesBackupHelper(this, ApplicationSettings.getPreferencesName());
        addHelper(PREFS_BACKUP_KEY, helper);
    } 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE