set

abstract fun set(key: String?, value: T, editor: SharedPreferences.Editor)

Store value for key in editor.

Note: Implementations must not call SharedPreferences.Editor.commit or SharedPreferences.Editor.apply on editor