コード例 #1
0
 @Override
 public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) {
   if (DEBUG) Log.d(TAG, "++++ onLoadFinished ++++");
   CallBlockFragment.loader = (SQLiteCursorLoader) loader;
   mCursor = cursor;
   adapter.changeCursor(cursor);
 }
コード例 #2
0
 @Override
 public void onLoaderReset(Loader<Cursor> loader) {
   if (DEBUG) Log.d(TAG, "++++ onLoaderReset ++++");
   adapter.changeCursor(null);
 }