com.heinrichreimersoftware.androidissuereporter.model.github.GithubTarget Java Examples

The following examples show how to use com.heinrichreimersoftware.androidissuereporter.model.github.GithubTarget. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: IssueReporterActivity.java    From More-For-GO with GNU General Public License v3.0 5 votes vote down vote up
private ReportIssueTask(Activity activity, Report report, GithubTarget target,
                        GithubLogin login) {
    super(activity);
    this.report = report;
    this.target = target;
    this.login = login;
}
 
Example #2
Source File: IssueReporterActivity.java    From android-issue-reporter with MIT License 5 votes vote down vote up
private ReportIssueTask(Activity activity, Report report, GithubTarget target,
                        GithubLogin login) {
    super(activity);
    this.report = report;
    this.target = target;
    this.login = login;
}
 
Example #3
Source File: ReportIssueActivity.java    From android-wallet-app with GNU General Public License v3.0 4 votes vote down vote up
@Override
protected GithubTarget getTarget() {
    return new GithubTarget("iotaledger", "android-wallet-app");
}
 
Example #4
Source File: ReporterActivity.java    From always-on-amoled with GNU General Public License v3.0 4 votes vote down vote up
@Override
public GithubTarget getTarget() {
    return new GithubTarget("rosenpin", "AlwaysOnDisplayAmoled");
}
 
Example #5
Source File: ReporterActivity.java    From More-For-GO with GNU General Public License v3.0 4 votes vote down vote up
@Override
public GithubTarget getTarget() {
    return new GithubTarget("rosenpin", "Enhancer-For-GO");
}
 
Example #6
Source File: IssueReporterActivity.java    From More-For-GO with GNU General Public License v3.0 4 votes vote down vote up
private void sendBugReport(GithubLogin login, String email) {
    if (!validateInput()) return;

    String bugTitle = inputTitle.getText().toString();
    String bugDescription = inputDescription.getText().toString();

    DeviceInfo deviceInfo = new DeviceInfo(this);

    ExtraInfo extraInfo = new ExtraInfo();
    onSaveExtraInfo(extraInfo);

    Report report = new Report(bugTitle, bugDescription, deviceInfo, extraInfo, email);
    GithubTarget target = getTarget();

    ReportIssueTask.report(this, report, target, login);
}
 
Example #7
Source File: ExampleReporterActivity.java    From android-issue-reporter with MIT License 4 votes vote down vote up
@Override
public GithubTarget getTarget() {
    return new GithubTarget("HeinrichReimer", "android-issue-reporter");
}
 
Example #8
Source File: IssueReporterLauncher.java    From android-issue-reporter with MIT License 4 votes vote down vote up
public static IssueReporterLauncher forTarget(@NonNull GithubTarget target) {
    return new IssueReporterLauncher(target.getUsername(), target.getRepository());
}
 
Example #9
Source File: IssueReporterLauncher.java    From android-issue-reporter with MIT License 4 votes vote down vote up
@Override
protected GithubTarget getTarget() {
    return new GithubTarget(targetUsername, targetRepository);
}
 
Example #10
Source File: IssueReporterActivity.java    From android-issue-reporter with MIT License 4 votes vote down vote up
private void sendBugReport(GithubLogin login, String email) {
    if (!validateInput()) return;

    String bugTitle = inputTitle.getText().toString();
    String bugDescription = inputDescription.getText().toString();

    DeviceInfo deviceInfo = new DeviceInfo(this);

    ExtraInfo extraInfo = new ExtraInfo();
    onSaveExtraInfo(extraInfo);

    Report report = new Report(bugTitle, bugDescription, deviceInfo, extraInfo, email);
    GithubTarget target = getTarget();

    ReportIssueTask.report(this, report, target, login);
}
 
Example #11
Source File: IssueReporterActivity.java    From More-For-GO with GNU General Public License v3.0 votes vote down vote up
protected abstract GithubTarget getTarget(); 
Example #12
Source File: IssueReporterActivity.java    From android-issue-reporter with MIT License votes vote down vote up
protected abstract GithubTarget getTarget();