daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest May 16th, 2018 113 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @Override
  2.     public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) {
  3.         SQLiteQueryBuilder qb = new SQLiteQueryBuilder();
  4.         SQLiteDatabase db = datastore.getReadableDatabase();
  5.         qb.setTables("characterData");
  6.         Cursor c = qb.query(db, projection, selection, null, null, null, sortOrder);
  7.         c.setNotificationUri(getContext().getContentResolver(), uri);
  8.         return c;
  9.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top