Instantly share code, notes, and snippets.

Embed
What would you like to do?
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