Skip to content
This repository was archived by the owner on May 24, 2022. It is now read-only.

Commit f91320f

Browse files
committed
initial query for query suggestion
1 parent 888abd8 commit f91320f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

guides/src/main/kotlin/com/algolia/instantsearch/guides/querysuggestion/product/ProductFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class ProductFragment : Fragment(R.layout.fragment_items) {
2828
}
2929

3030
// Run initial search
31-
viewModel.multiSearcher.searchAsync()
31+
viewModel.productSearcher.searchAsync()
3232
}
3333

3434
override fun onDestroyView() {

guides/src/main/kotlin/com/algolia/instantsearch/guides/querysuggestion/suggestion/SuggestionFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class SuggestionFragment : Fragment(R.layout.fragment_items) {
3131
}
3232

3333
// Run initial search
34-
viewModel.multiSearcher.searchAsync()
34+
viewModel.suggestionSearcher.searchAsync()
3535
}
3636

3737
override fun onDestroyView() {

showcase/android-view/src/main/kotlin/com/algolia/instantsearch/showcase/suggestion/product/ProductFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class ProductFragment : Fragment(R.layout.list_items) {
2828
}
2929

3030
// Run initial search
31-
viewModel.multiSearcher.searchAsync()
31+
viewModel.productSearcher.searchAsync()
3232
}
3333

3434
override fun onDestroyView() {

showcase/android-view/src/main/kotlin/com/algolia/instantsearch/showcase/suggestion/suggestion/SuggestionFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class SuggestionFragment : Fragment(R.layout.list_items) {
3131
}
3232

3333
// Run initial search
34-
viewModel.multiSearcher.searchAsync()
34+
viewModel.suggestionSearcher.searchAsync()
3535
}
3636

3737
override fun onDestroyView() {

0 commit comments

Comments
 (0)