Skip to content
This repository has been archived by the owner on Aug 3, 2019. It is now read-only.

Delete request

Roman Kushnarenko edited this page Oct 16, 2014 · 1 revision

Initialize callback listener:

OnDeleteListener onDeleteListener = new OnDeleteListener() {
	@Override
	public void onComplete(Void response) {
		Log.i(TAG, "Deleted successfully");
	}

	/* 
	 * You can override other methods here: 
	 * onThinking(), onFail(String reason), onException(Throwable throwable)
	 */
};

Delete request:

String requestId = ...;
mSimpleFacebook.deleteRequest(requestId, onDeleteListener);
Clone this wiki locally