Code example for FilterQueryProvider

Methods: runQuery

0
     * @see #setFilterQueryProvider(android.widget.FilterQueryProvider) 
     */ 
    @Implementation 
    public Cursor runQueryOnBackgroundThread(CharSequence constraint) {
        if (mFilterQueryProvider != null) {
            return mFilterQueryProvider.runQuery(constraint);
        } 
 
        return mCursor;
    } 
 
//    @Implementation 
//    public Filter getFilter() { 
//        if (mCursorFilter == null) { 
//            mCursorFilter = new CursorFilter__FromAndroid(this); 
//        } 
//        return mCursorFilter; 
//    } 
 
    /** 
     * Returns the query filter provider used for filtering. When the