public void setOnQueryTextListener(OnQueryTextListener listener) {
        mOnQueryChangeListener = listener;
    }
Set this listener to listen to Query Change events.

@param listener
android/third_party/search/src/main/java/com/miguelcatalan/materialsearchview/MaterialSearchView.java