@Override
    public void displaySuggestions(boolean display) {
        if (display) {
            recyclerView.setVisibility(RecyclerView.VISIBLE);
        } else {
            recyclerView.setVisibility(RecyclerView.GONE);
        }
    }
@Override
    public void displaySuggestions(boolean display) {
        if (display) {
            recyclerView.setVisibility(RecyclerView.VISIBLE);
        } else {
            recyclerView.setVisibility(RecyclerView.GONE);
        }
    }
@ Override public void displaySuggestions ( boolean display ) { if ( display ) { recyclerView . setVisibility ( RecyclerView . VISIBLE ) ; } else { recyclerView . setVisibility ( RecyclerView . GONE ) ; } }
--------------------------------------------------
--------------------------------------------------