diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-11 13:25:16 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-11 13:25:16 -0700 |
commit | 37714d62238efb754a689e6bbcadd8d8f934f704 (patch) | |
tree | dada0b9cbef51473e31c74f595fd916f77edcfa6 /sample/src/main/kotlin/ca | |
parent | b7a493facf1152bc1de872e39cbc299640127bf4 (diff) | |
download | kau-37714d62238efb754a689e6bbcadd8d8f934f704.tar.gz kau-37714d62238efb754a689e6bbcadd8d8f934f704.tar.bz2 kau-37714d62238efb754a689e6bbcadd8d8f934f704.zip |
Switch to ConstraintLayout
Diffstat (limited to 'sample/src/main/kotlin/ca')
-rw-r--r-- | sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt index 914fff8..cb1cd77 100644 --- a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt +++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt @@ -20,7 +20,7 @@ class MainActivity : KPrefActivity() { checkbox(title = R.string.checkbox_1, description = R.string.desc, getter = { KPrefSample.check1 }, setter = { KPrefSample.check1 = it }) checkbox(title = R.string.checkbox_2, - getter = { KPrefSample.check2 }, setter = { KPrefSample.check2 = it; reloadByTitle(R.string.checkbox_3) }) + getter = { KPrefSample.check2 }, setter = { KPrefSample.check2 = it; reload(3) }) checkbox(title = R.string.checkbox_3, description = R.string.desc_dependent, enabler = { KPrefSample.check2 }, getter = { KPrefSample.check3 }, setter = { KPrefSample.check3 = it }) colorPicker(title = R.string.text_color, description = R.string.color_custom, |