aboutsummaryrefslogtreecommitdiff
path: root/sample/src/main
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-14 15:42:21 -0700
committerAllan Wang <me@allanwang.ca>2017-06-14 15:42:21 -0700
commit7edb081d0e808982ba0d5c5d2a0021aa1befcd8c (patch)
treefa2e9b638735874392a40094c8abcc472401cc18 /sample/src/main
parent078190b3603d3eaa50e3e3238cb9e6e124a9d970 (diff)
downloadkau-7edb081d0e808982ba0d5c5d2a0021aa1befcd8c.tar.gz
kau-7edb081d0e808982ba0d5c5d2a0021aa1befcd8c.tar.bz2
kau-7edb081d0e808982ba0d5c5d2a0021aa1befcd8c.zip
Add pref to click options
Diffstat (limited to 'sample/src/main')
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt2
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 bf324a0..4efd9f1 100644
--- a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
+++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
@@ -40,7 +40,7 @@ class MainActivity : KPrefActivity() {
getter = { KPrefSample.check3 }
setter = { KPrefSample.check3 = it }
onDisabledClick = {
- itemView, innerContent ->
+ itemView, _, _ ->
itemView.context.toast("I am still disabled")
true
}