@Override public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { chatUserDB = ChatDao.getInstance(getContext()); int upadte = chatUserDB.updateUserStatus(values, selection, selectionArgs); context.getContentResolver().notifyChange(USER_URI, null); return upadte; }
@Override public boolean onCreate() { chatUserDB = ChatDao.getInstance(getContext()); return true; }