From be1dc924a7b7cce61fabe0b03ff26c780920db95 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 24 Jun 2017 12:16:44 -0700 Subject: Update searchview logic and add travis --- sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sample/src') 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 } -- cgit v1.2.3