Code example for FilterQueryProvider

Methods: runQuery

0
     * @see #getFilterQueryProvider() 
     * @see #setFilterQueryProvider(android.widget.FilterQueryProvider) 
     */ 
    public Cursor runQueryOnBackgroundThread(CharSequence constraint) {
        if (mFilterQueryProvider != null) {
            return mFilterQueryProvider.runQuery(constraint);
        } 
 
        return mCursor;
    } 
 
    public Filter getFilter() {
        if (mCursorFilter == null) {
            mCursorFilter = new CursorFilter(this);
        } 
        return mCursorFilter;
    } 
 
    /** 
     * Returns the query filter provider used for filtering. When the 
Experience pair programming with AI  Get Codota for Java