コード例 #1
0
 private void deleteReply() {
   ContentResolver cr = getActivity().getContentResolver();
   cr.delete(
       AwfulMessage.CONTENT_URI_REPLY,
       AwfulMessage.ID + "=?",
       AwfulProvider.int2StrArray(mThreadId));
 }
コード例 #2
0
 private void deleteReply() {
   mContentResolver.delete(
       AwfulMessage.CONTENT_URI_REPLY,
       AwfulMessage.ID + "=?",
       AwfulProvider.int2StrArray(mThreadId));
   mContentResolver.notifyChange(AwfulThread.CONTENT_URI, null);
   sendSuccessful = true;
 }