Created
May 6, 2016 05:50
-
-
Save v-JohnZhang/d304127f31741e7499b0dde6a0e5b95f to your computer and use it in GitHub Desktop.
HockeySenderFactory return HockeySender
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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