//Android/br.com.arch.toolkit.android.util/set
[android]
operator fun <T> ERROR CLASS: Symbol not found for SharedPreferences.set(key: String, value: T)
Stores a value in SharedPreferences using operator overloading.
Supported types: String, Boolean, Int, Float, Long, Double (stored as String), and null (removes the key).
android
| Â | Â |
|---|---|
| key | The name of the preference to modify. |
| value | The new value for the preference. |
| Â | Â |
|---|---|
| UnsupportedOperationException | If the value type is not supported. |