diff options
author | Allan Wang <me@allanwang.ca> | 2017-12-31 15:07:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-31 15:07:05 -0500 |
commit | e2009a3e33a58bab37f433845f6d105cb7821da1 (patch) | |
tree | b23f3587db872be7b7ac6a4885862c7d56e35be3 /searchview | |
parent | 2718156fe63304ffb792cc3cb8592ad6e494a8b0 (diff) | |
download | kau-e2009a3e33a58bab37f433845f6d105cb7821da1.tar.gz kau-e2009a3e33a58bab37f433845f6d105cb7821da1.tar.bz2 kau-e2009a3e33a58bab37f433845f6d105cb7821da1.zip |
Enhancement/logger (#120)
* Rewrite logger to use lazy loading
* Clean up and add to changelog
Diffstat (limited to 'searchview')
-rw-r--r-- | searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt | 2 |
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 50e0298..1cd811e 100644 --- a/searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt +++ b/searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt @@ -210,7 +210,7 @@ class SearchView @JvmOverloads constructor( private val divider: View by bindView(R.id.kau_search_divider) private val recycler: RecyclerView by bindView(R.id.kau_search_recycler) private var textCallback: Debouncer2<String, SearchView> - = debounce(0) { query, _ -> KL.d("Search query $query found; set your own textCallback") } + = debounce(0) { query, _ -> KL.d { "Search query $query found; set your own textCallback" } } val adapter = FastItemAdapter<SearchItem>() var menuItem: MenuItem? = null val isOpen: Boolean |