Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ package com.glassdoor.preferencex.annotations
annotation class Preference(
/**
* The default integer value that will be used
* when getting the value from the SharedPReferences.
* when getting the value from the SharedPreferences.
* If no value is specified, it will default to `0`
*/
val defaultInt: Int = 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ package com.glassdoor.preferencex.annotations
* `SharedPreferences` which is passed around through Dependency
* Injection. In these cases, it's more valuable to generate
* extensions on the wrapper than `SharedPreferences` itself.
* You can do that by simply annotating your SharedPreference
* You can do that by simply annotating your SharedPreferences
* instance with @PreferenceFile. For example:
* ```
* class CustomWrapper(application: Application) {
Expand All @@ -49,7 +49,7 @@ annotation class PreferenceFile(
* of SharedPreferences (presumably for multiple files of
* SharedPreferences), you should specify the `fileName`
* so that PreferenceX can generate the appropriate
* extensions on the appropriate SharedPreference instance.
* extensions on the appropriate SharedPreferences instance.
* For example:
* ```
* @PreferenceFile(fileName = "startup")
Expand Down