Code example for SharedPreferencesBackupHelper

0
 */ 
public class BackupAgent extends BackupAgentHelper {
 
    @Override 
    public void onCreate() { 
        addHelper("shared_pref", new SharedPreferencesBackupHelper(this,
                getPackageName() + "_preferences"));
    } 
} 
Experience pair programming with AI  Get Codota for Java