Skip to content

Instantly share code, notes, and snippets.

@v-JohnZhang
Created May 6, 2016 05:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save v-JohnZhang/d304127f31741e7499b0dde6a0e5b95f to your computer and use it in GitHub Desktop.
Save v-JohnZhang/d304127f31741e7499b0dde6a0e5b95f to your computer and use it in GitHub Desktop.
HockeySenderFactory return HockeySender
package com.example.v_zhjoh.androidarcatest;
import android.content.Context;
import android.support.annotation.NonNull;
import org.acra.config.ACRAConfiguration;
import org.acra.sender.ReportSender;
import org.acra.sender.ReportSenderFactory;
/**
* Created by v-zhjoh on 2016/5/4.
*/
public class HockeySenderFactory implements ReportSenderFactory {
@NonNull
@Override
public ReportSender create(Context context, ACRAConfiguration config) {
return new HockeySender();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment