Lines Matching defs:loaders
37 * A {@link LoaderManager} that records which loaders have been completed.
123 * Waits for the specified loaders to complete loading.
125 * If one of the loaders has already completed since the last call to {@link #reset()}, it will
130 List<Loader<?>> loaders = new ArrayList<Loader<?>>(loaderIds.length);
144 loaders.add(loader);
147 waitForLoaders(loaders.toArray(new Loader<?>[0]));
151 * Waits for the specified loaders to complete loading.
153 public static void waitForLoaders(Loader<?>... loaders) {
156 Thread[] waitThreads = new Thread[loaders.length];
157 for (int i = 0; i < loaders.length; i++) {
158 final AsyncTaskLoader<?> loader = (AsyncTaskLoader<?>) loaders[i];