What did you expected to happen? Clicking "view all" search results button should open list view.
What happened instead? The app crashed.
Steps to reproduce: Enter text and execute search. Click "view all" button in top right corner.
Attach device logs
10-27 10:05:17.691 30335-30335/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.mapzen.erasermap, PID: 30335
kotlin.TypeCastException: null cannot be cast to non-null type com.mapzen.pelias.widget.AutoCompleteAdapter
at com.mapzen.erasermap.controller.MainActivity.showAllSearchResults(MainActivity.kt:448)
at com.mapzen.erasermap.presenter.MainPresenterImpl.onViewAllSearchResults(MainPresenterImpl.kt:273)
at com.mapzen.erasermap.controller.MainActivity.onActionViewAll(MainActivity.kt:424)
at com.mapzen.erasermap.controller.MainActivity.onOptionsItemSelected(MainActivity.kt:413)
at android.app.Activity.onMenuItemSelected(Activity.java:2954)
at android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:406)
at android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:195)
at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:103)
at android.support.v7.app.AppCompatDelegateImplV9.onMenuItemSelected(AppCompatDelegateImplV9.java:667)
at android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:810)
at android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:957)
at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:947)
at android.support.v7.widget.ActionMenuView.invokeItem(ActionMenuView.java:616)
at android.support.v7.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:153)
at android.view.View.performClick(View.java:5205)
at android.view.View$PerformClick.run(View.java:21164)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)