app/src/main/java/fr/neamar/kiss/MainActivity.java
/**
     * Call this function when we're leaving the activity after clicking a search result
     * to clear the search list.
     * We can't use onPause(), since it may be called for a configuration change
     */
Call this function when we're leaving the activity after clicking a search result
to clear the search list.
We can't use onPause(), since it may be called for a configuration change
Call this function when we ' re leaving the activity after clicking a search result to clear the search list . We can ' t use onPause () since it may be called for a configuration change
@Override
    public void launchOccurred() {
        if (!searchEditText.getText().toString().isEmpty()) {
            searchEditText.setText("");
            displayClearOnInput();
            hideKeyboard();
        } else if (isViewingAllApps()) {
            displayKissBar(false);
        }
    }
@ Override public void launchOccurred ( ) { if ( ! searchEditText . getText ( ) . toString ( ) . isEmpty ( ) ) { searchEditText . setText ( "" ) ; displayClearOnInput ( ) ; hideKeyboard ( ) ; } else if ( isViewingAllApps ( ) ) { displayKissBar ( false ) ; } }
Call this function when we're leaving the activity after clicking a search result
 to clear the search list.
Call this function when we ' re leaving the activity after clicking a search result to clear the search list .
// We selected an item on the list, // now we can cleanup the filter: