app/src/main/java/fr/neamar/kiss/DataHandler.java
/**
     * Get records for this query.
     *
     * @param searcher the searcher currently running
     */
Get records for this query.
@param searcher the searcher currently running
Get records for this query . @param searcher the searcher currently running
public void requestAllRecords(Searcher searcher) {
        for (ProviderEntry entry : this.providers.values()) {
            if (searcher.isCancelled())
                break;
            if (entry.provider == null)
                continue;
            List<? extends Pojo> pojos = entry.provider.getPojos();
            if (pojos != null)
                searcher.addResult(pojos.toArray(new Pojo[0]));
        }
    }
public void requestAllRecords ( Searcher searcher ) { for ( ProviderEntry entry : this . providers . values ( ) ) { if ( searcher . isCancelled ( ) ) break ; if ( entry . provider == null ) continue ; List < ? extends Pojo > pojos = entry . provider . getPojos ( ) ; if ( pojos != null ) searcher . addResult ( pojos . toArray ( new Pojo [ 0 ] ) ) ; } }
Get records for this query.
Get records for this query .