Lines Matching refs:loader

17 package androidx.loader.app;
26 import androidx.loader.content.Loader;
50 * @param id The ID whose loader is to be created.
59 * Called when a previously created loader has finished its load. Note
96 * @param loader The Loader that has finished.
100 void onLoadFinished(@NonNull Loader<D> loader, D data);
103 * Called when a previously created loader is being reset, and thus
109 * @param loader The Loader that is being reset.
112 void onLoaderReset(@NonNull Loader<D> loader);
132 * Ensures a loader is initialized and active. If the loader doesn't
134 * started) starts the loader. Otherwise the last created
135 * loader is re-used.
137 * <p>In either case, the given callback is associated with the loader, and
138 * will be called as the loader state changes. If at the point of call
139 * the caller is in its started state, and the requested loader
147 * @param id A unique identifier for this loader. Can be whatever you want.
149 * @param args Optional arguments to supply to the loader at construction.
150 * If a loader already exists (a new one does not need to be created), this
153 * changes in the state of the loader. Required.
164 * If a loader with the same id has previously been
165 * started it will automatically be destroyed when the new loader completes
166 * its work. The callback will be delivered before the old loader
171 * @param id A unique identifier for this loader. Can be whatever you want.
173 * @param args Optional arguments to supply to the loader at construction.
175 * changes in the state of the loader. Required.
183 * Stops and removes the loader with the given ID. If this loader
230 * Control whether the framework's internal loader manager debugging
232 * the framework performs loader operations.