Skip to content

Commit 2ef6a0d

Browse files
committed
Fix typo in docs, fixes android-async-http#98
1 parent 65e8784 commit 2ef6a0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class TwitterRestClientUsage {
112112
public void getPublicTimeline() throws JSONException {
113113
TwitterRestClient.get("statuses/public_timeline.json", null, new JsonHttpResponseHandler() {
114114
@Override
115-
public void onSuccess(JSONArray response) {
115+
public void onSuccess(JSONArray timeline) {
116116
// Pull out the first event on the public timeline
117117
JSONObject firstEvent = timeline.get(0);
118118
String tweetText = firstEvent.getString("text");

0 commit comments

Comments
 (0)