diff --git a/README.md b/README.md index 8430b36..028b990 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ override fun onCreate() { Use `SharedPreferences` in your project with only one line: ```kotlin -val intPreference: Int by Preference("IntPreference", -1) +val intPreference: Int by Preference(-1, "IntPreference") ``` it creates a `SharedPreferences` property with `IntPreference` name and `-1` as its default value.