How to refresh my RecyclerView list when searchview is cleared?
<p>When a Search query text is entered, I filter my card items in the <code>RecyclerView</code> and display them on top. However, when all the text is cleared, for some reason, the list does not go back to the original state. How to refresh my <code>RecyclerView</code> list? The code below should give you a better idea.</p>

<pre><code>@Override
    public boolean onQueryTextChange(String newText) {
        final List&lt;Number&gt; filteredModelList = filter(numbers, newText);
        Log.v("App", newText + ", " + numbers.size() + ", " + filteredModelList.size());
        adapter.animateTo(filteredModelList);
        list.scrollToPosition(0);
        adapter.notifyDataSetChanged();
        if (newText.equalsIgnoreCase("")){
            try{
                Log.e("SEARCH VIEW", "I CAN ENTER HERE"); //But the list doesn't refresh
                adapter.animateTo(numbers);
                adapter.notifyDataSetChanged();
                list.setAdapter(adapter);
                list.scrollToPosition
            } catch(Exception e){
                Log.e("Caught Exception", e.toString());
            }

        }
        return true;
    }
</code></pre>

<p>This is problematic when no item matched the search - then the screen is just blank with no cards, and the "X" button on the <code>SearchView</code> is not visible either. When the X is visible, and I touch it, the list goes back to its original state. As a second question, is there a way to always display the close icon ("X")? </p>