The search bar on the app is available on every page on the app. Even on the "more" page too. I tried to search while on the settings page and as soon as I typed in a letter, the app crashed.
Steps to reproduce.
When on the app, access the options menu which is denoted by more. Click on it.
At the top of the screen, there's the search icon. Click it
When you click the search icon, the search bar pops up. Type in a letter as though you want to search.
See error. The app crashed.
Expected behaviour.
The expected behaviour from every search operation would be to get search results. I expected that as soon as I typed in a letter, I should be getting search results.
at net.gsantner.memetastic.activity.MainActivity.updateSearchFilter(MainActivity.java:455)
at net.gsantner.memetastic.activity.MainActivity.access$400(MainActivity.java:94)
at net.gsantner.memetastic.activity.MainActivity$4.onQueryTextChange(MainActivity.java:707)
at android.support.v7.widget.SearchView.onTextChanged(SearchView.java:1181)
at android.support.v7.widget.SearchView$10.onTextChanged(SearchView.java:1715)
at android.widget.TextView.sendOnTextChanged(TextView.java:9371)
at android.widget.TextView.handleTextChanged(TextView.java:9458)
at android.widget.TextView$ChangeWatcher.onTextChanged(TextView.java:11943)
at android.text.SpannableStringBuilder.sendTextChanged(SpannableStringBuilder.java:1252)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:573)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:504)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:502)
at android.view.inputmethod.BaseInputConnection.replaceText(BaseInputConnection.java:843)
at android.view.inputmethod.BaseInputConnection.setComposingText(BaseInputConnection.java:616)
at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:396)
at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:85)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:6635)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)
Description of the bug.
The search bar on the app is available on every page on the app. Even on the "more" page too. I tried to search while on the settings page and as soon as I typed in a letter, the app crashed.
Steps to reproduce.
Expected behaviour.
The expected behaviour from every search operation would be to get search results. I expected that as soon as I typed in a letter, I should be getting search results.
Screen recording.
https://youtu.be/RA3E2sufyU4
Test Environment
Device; Redmi Note 5 Pro OS; Android 8.1 Software version; Memetastic v1.5.0
Logcat