call onQueryTextChange while pressing backspace (delete) key
<p>in my search view , when i delete my query's text using my backspace (delete) key no results got returned please see the below images for better understanding</p>

<p>see here i search for <code>test1</code> which is an object in my adapter and am getting the result..</p>

<p><a href="https://i.stack.imgur.com/VboEP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VboEP.png" alt="image1"></a> </p>

<p>okay here i queried one more time but i have none objects with this name so am not getting anything as result which is fine</p>

<p><a href="https://i.stack.imgur.com/wWdxk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wWdxk.png" alt="enter image description here"></a></p>

<p>now here i pressed backspace(delete key) and now my query text is <code>test</code> and i have a object with this name in my adapter but am not getting any thing in return 
<a href="https://i.stack.imgur.com/akMPz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/akMPz.png" alt="enter image description here"></a></p>

<p>my <code>onQueryTextChange</code> is being called when deleting the texts of query.    how can fix this ?? any clue ??</p>

<p>codes:</p>

<pre><code>Search_View.setOnQueryTextListener(new SearchView.OnQueryTextListener() {
                @Override
            public boolean onQueryTextSubmit(String Text) {

                return false;
            }
                @Override
            public boolean onQueryTextChange(String newText) {
                if (newText.length() == 0) {
                    notesAdapter = new NotesAdapter(getActivity(), getData());
                    recyclerView.setAdapter(notesAdapter);
                }
                if ( notesAdapter != null) {
                    notesAdapter.getFilter().filter(newText);
                }
                return true;
            }
        });
</code></pre>

<p>my notesAdapter's filtering portion:</p>

<pre><code>private static class UserFilter extends Filter {

    private final NotesAdapter adapter;

    private final List&lt;Information&gt; originalList;

    private final List&lt;Information&gt; filteredList;

    private UserFilter(NotesAdapter adapter, List&lt;Information&gt; originalList) {
        super();
        this.adapter = adapter;
        this.originalList = new ArrayList&lt;&gt;(originalList);
        this.filteredList = new ArrayList&lt;&gt;();
    }

    @Override
    protected FilterResults performFiltering(CharSequence constraint) {
        filteredList.clear();
        final FilterResults results = new FilterResults();

        if (constraint == null || constraint.length() == 0) {
            filteredList.addAll(originalList);



        } else {
            final String filterPattern = constraint.toString().toLowerCase().trim();


            for (final Information user : originalList) {




                    if ( (user.title != null &amp;&amp; user.title.toLowerCase().contains(filterPattern)) ||(user.address != null &amp;&amp;(user.address.toLowerCase().contains(filterPattern))) ||
                            (user.postType != null &amp;&amp; (user.postType.toLowerCase().contains(filterPattern)) )|| (user.publisher != null&amp;&amp; (user.publisher.toLowerCase().contains(filterPattern)))
                            )

                    {
                        filteredList.add(user);

                    }

            }
        }
        results.values = filteredList;
        results.count = filteredList.size();
        return results;
    }


    @Override
    protected void publishResults(CharSequence constraint, FilterResults results) {
        adapter.filteredUserList.clear();
        if  ((ArrayList&lt;Information&gt;) results.values != null ) {

            adapter.filteredUserList.addAll((ArrayList&lt;Information&gt;) results.values);
        }
        adapter.notifyDataSetChanged();

    } }
</code></pre>