diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-10 17:08:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-10 17:08:49 -0700 |
commit | 4c81c599b0c1c8893af25dd8cd51b6428389e910 (patch) | |
tree | afadf4e1a9638eae1ad63848a1cdf9943c04207b /README.md | |
parent | 656d94f91a095be78028af7b8f14947e84287d37 (diff) | |
download | kau-4c81c599b0c1c8893af25dd8cd51b6428389e910.tar.gz kau-4c81c599b0c1c8893af25dd8cd51b6428389e910.tar.bz2 kau-4c81c599b0c1c8893af25dd8cd51b6428389e910.zip |
Create README.md
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ class MyPrefs { KPrefs greatly simplifies it by using Kotlin's object pattern and delegates to achieve the following: ```Kotlin -object KPrefSample : KPref() { +object MyPrefs : KPref() { var textColor: Int by kpref("TEXT_COLOR", Color.WHITE) var bgColor: Int by kpref("BG_COLOR", Color.BLACK) var isFirstLaunch: Boolean by kpref("IS_FIRST_LAUNCH", true) |