Code example for SharedPreferences.Editor

Methods: putFloat

0
      return this;
    } 
 
    @Override 
    public Editor putFloat(String key, float value) {
      this.editor = this.editor.putFloat(prefix + key, value);
      return this;
    } 
 
    @Override 
    public Editor putInt(String key, int value) {
      this.editor = this.editor.putInt(prefix + key, value);
      return this;
    } 
 
    @Override 
    public Editor putLong(String key, long value) {
      this.editor = this.editor.putLong(prefix + key, value);
      return this;
    }