aboutsummaryrefslogtreecommitdiff
path: root/searchview/src
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2021-01-11 00:31:19 -0800
committerAllan Wang <me@allanwang.ca>2021-01-11 00:31:19 -0800
commit89d4a2e596d07585c4a3ed91e6e091111da0c2ad (patch)
treed32215a2db22073d41de199c727848a5bbb19c27 /searchview/src
parent5f5389b0fde9d12c56e337dff169fa6319b449cf (diff)
downloadkau-89d4a2e596d07585c4a3ed91e6e091111da0c2ad.tar.gz
kau-89d4a2e596d07585c4a3ed91e6e091111da0c2ad.tar.bz2
kau-89d4a2e596d07585c4a3ed91e6e091111da0c2ad.zip
Fix viewbinding with merge tags and disable warningsAsErrors
Diffstat (limited to 'searchview/src')
-rw-r--r--searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt b/searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt
index ddb8d6d..edf7408 100644
--- a/searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt
+++ b/searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt
@@ -280,7 +280,7 @@ class SearchView @JvmOverloads constructor(
var menuY: Int = -1 // reference for cardview's marginTop
var menuHalfHeight: Int = -1 // starting y for circular reveal (relative to the cardview)
- private val binding: KauSearchViewBinding = KauSearchViewBinding.inflate(LayoutInflater.from(context), this, true)
+ private val binding: KauSearchViewBinding = KauSearchViewBinding.inflate(LayoutInflater.from(context), this)
init {
z = 99f