Write a line of code that will put string value "dark" for "theme" key. The editor is already defined. This code should call some function from the editor object. No need to add apply( ) at the end.
SharedPreferences
Saving values
Report a typo
Enter a short text
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.