private void cancelCampaign() {
        if (campaign != null) {
            campaign.cancel();
        }
    }
Create sync adapter for context

@param context
app/src/main/java/com/github/pockethub/android/sync/SyncAdapter.java