aboutsummaryrefslogtreecommitdiff
path: root/sample/src/main/kotlin
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-24 12:16:44 -0700
committerAllan Wang <me@allanwang.ca>2017-06-24 12:16:44 -0700
commitbe1dc924a7b7cce61fabe0b03ff26c780920db95 (patch)
tree18bdaa371482bd1d79dcda0c4761611dc75a164a /sample/src/main/kotlin
parent245791389eb09a56658d81e9894881584a712461 (diff)
downloadkau-be1dc924a7b7cce61fabe0b03ff26c780920db95.tar.gz
kau-be1dc924a7b7cce61fabe0b03ff26c780920db95.tar.bz2
kau-be1dc924a7b7cce61fabe0b03ff26c780920db95.zip
Update searchview logic and add travis
Diffstat (limited to 'sample/src/main/kotlin')
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt3
1 files changed, 2 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 a6f4b92..c21a7e1 100644
--- a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
+++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
@@ -7,6 +7,7 @@ import ca.allanwang.kau.email.sendEmail
import ca.allanwang.kau.kpref.CoreAttributeContract
import ca.allanwang.kau.kpref.KPrefActivity
import ca.allanwang.kau.kpref.KPrefAdapterBuilder
+import ca.allanwang.kau.searchview.SearchView
import ca.allanwang.kau.utils.materialDialog
import ca.allanwang.kau.utils.navigationBarColor
import ca.allanwang.kau.utils.startActivity
@@ -122,7 +123,7 @@ class MainActivity : KPrefActivity() {
override fun onCreateOptionsMenu(menu: Menu): Boolean {
menuInflater.inflate(R.menu.menu_main, menu)
-
+ SearchView.bind(container, menu, R.id.action_search)
return true
}