Skip to content

回调可以用抽象方法代替 #4

@yuzhongxingke

Description

@yuzhongxingke

GithubService.getInstance()
.createGithubService()
.contributors("square","retrofit")
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe(new ProgressSubscriber<List>(RetrofitActivity.this) {
@OverRide
protected void nextReponse(String result) {
Log.i("xxxxxxxxxx:",result);
}
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions