MiniumApps/launcher3/src/main/java/co/siempo/phone/activities/NoteListActivity.java
/**
     * When search mode is finished
     * Collapse searchView widget, searchActive to false, reset adapter, enable listView long clicks
     * and show newNote button
     */
When search mode is finished
Collapse searchView widget, searchActive to false, reset adapter, enable listView long clicks
and show newNote button
When search mode is finished Collapse searchView widget searchActive to false reset adapter enable listView long clicks and show newNote button
protected void searchEnded() {
        searchActive = false;
        adapter = new NoteAdapter(NoteListActivity.this, notes);
        listView.setAdapter(adapter);
        listView.setLongClickable(true);
        newNoteButtonVisibility(true);
    }
protected void searchEnded ( ) { searchActive = false ; adapter = new NoteAdapter ( NoteListActivity . this , notes ) ; listView . setAdapter ( adapter ) ; listView . setLongClickable ( true ) ; newNoteButtonVisibility ( true ) ; }
When search mode is finished
 Collapse searchView widget, searchActive to false, reset adapter, enable listView long clicks
 and show newNote button
When search mode is finished Collapse searchView widget searchActive to false reset adapter enable listView long clicks and show newNote button