diff --git a/library/build.gradle b/library/build.gradle index 7930b94..cc1edda 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -13,7 +13,7 @@ android { minSdkVersion 15 targetSdkVersion 26 versionCode 1 - versionName "1.0" + versionName "0.0.1" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } diff --git a/sample/src/main/java/me/baleen/sharedpreferencedelegate/UserPreference.kt b/sample/src/main/java/me/baleen/sharedpreferencedelegate/UserPreference.kt index 9bde3b4..d90d3dc 100644 --- a/sample/src/main/java/me/baleen/sharedpreferencedelegate/UserPreference.kt +++ b/sample/src/main/java/me/baleen/sharedpreferencedelegate/UserPreference.kt @@ -4,7 +4,7 @@ package me.baleen.sharedpreferencedelegate * Created by baleen37 on 09/08/2017. */ class UserPreference : PreferenceUtil() { - var email by StringPref("unknown") + var email by StringPref(defaultValue = "unknown") var age by IntPref("PREF_AGE") var male by BooleanPref(defaultValue = false) var score by FloatPref()