Code example for SharedPreferencesBackupHelper

0
public class LatinIMEBackupAgent extends BackupAgentHelper {
 
    @Override 
    public void onCreate() { 
        addHelper("shared_pref", new SharedPreferencesBackupHelper(this,
                getPackageName() + "_preferences"));
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java