Skip to content

Commit

Permalink
- corrected readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bolaware committed Feb 11, 2019
1 parent c52bfdf commit bad2e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Heres an example of getting news articles from a public api at [newsapi.org](htt
new Callbacks.onResponse(){
@Override
public void onResponse(@NotNull String jsonAsString, @NotNull EasyApiCaller easyApiCaller) {
NewsResponse newsResponse = EasyApiUtils.convertFromJson(jsonAsString, NewsResponse.class);
NewsResponse newsResponse = EasyApiUtils.convertFromJson(jsonAsString, class);
Toast.makeText(JavaMainActivity.this, newsResponse.getArticles().size() + " articles fetched", Toast.LENGTH_LONG).show();
}

Expand Down

0 comments on commit bad2e9c

Please sign in to comment.