Lines Matching full:loader
172 <h3>Initialize the Loader</h3>
175 background thread. Use the Loader framework defined by the
181 When you're ready to retrieve the rows, initialize the loader framework by
188 The following snippet shows how to initialize the loader framework:
194 // Defines a constant that identifies the loader
205 // Initializes the loader framework
211 onCreateLoader()} method, which is called by the loader framework immediately after you call
220 public Loader<Cursor> onCreateLoader(int loaderId, Bundle args) {
243 method. The loader framework calls
248 public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) {
249 switch (loader.getId()) {
263 onLoaderReset()} is invoked when the loader framework detects that the data backing the result
265 to the {@link android.database.Cursor} by setting them to null. If you don't, the loader
270 public void onLoaderReset(Loader<Cursor> loader) {
271 switch (loader.getId()) {