android.widget.SearchView.OnCloseListener Java Examples

The following examples show how to use android.widget.SearchView.OnCloseListener. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SearchViewCompatHoneycomb.java    From CodenameOne with GNU General Public License v2.0 5 votes vote down vote up
public static Object newOnCloseListener(final OnCloseListenerCompatBridge listener) {
    return new OnCloseListener() {
        @Override
        public boolean onClose() {
            return listener.onClose();
        }
    };
}
 
Example #2
Source File: SearchViewCompatHoneycomb.java    From adt-leanback-support with Apache License 2.0 5 votes vote down vote up
public static Object newOnCloseListener(final OnCloseListenerCompatBridge listener) {
    return new OnCloseListener() {
        @Override
        public boolean onClose() {
            return listener.onClose();
        }
    };
}
 
Example #3
Source File: SearchViewCompatHoneycomb.java    From V.FlyoutTest with MIT License 5 votes vote down vote up
public static Object newOnCloseListener(final OnCloseListenerCompatBridge listener) {
    return new OnCloseListener() {
        @Override
        public boolean onClose() {
            return listener.onClose();
        }
    };
}
 
Example #4
Source File: SearchViewCompatHoneycomb.java    From guideshow with MIT License 5 votes vote down vote up
public static Object newOnCloseListener(final OnCloseListenerCompatBridge listener) {
    return new OnCloseListener() {
        @Override
        public boolean onClose() {
            return listener.onClose();
        }
    };
}
 
Example #5
Source File: SearchViewCompatHoneycomb.java    From CodenameOne with GNU General Public License v2.0 4 votes vote down vote up
public static void setOnCloseListener(Object searchView, Object listener) {
    ((SearchView) searchView).setOnCloseListener((OnCloseListener) listener);
}
 
Example #6
Source File: SearchViewCompatHoneycomb.java    From adt-leanback-support with Apache License 2.0 4 votes vote down vote up
public static void setOnCloseListener(Object searchView, Object listener) {
    ((SearchView) searchView).setOnCloseListener((OnCloseListener) listener);
}
 
Example #7
Source File: SearchViewCompatHoneycomb.java    From V.FlyoutTest with MIT License 4 votes vote down vote up
public static void setOnCloseListener(Object searchView, Object listener) {
    ((SearchView) searchView).setOnCloseListener((OnCloseListener) listener);
}
 
Example #8
Source File: SearchViewCompatHoneycomb.java    From guideshow with MIT License 4 votes vote down vote up
public static void setOnCloseListener(Object searchView, Object listener) {
    ((SearchView) searchView).setOnCloseListener((OnCloseListener) listener);
}