Skip to content

Instantly share code, notes, and snippets.

@chaxiu
Created October 18, 2020 12:04
Show Gist options
  • Save chaxiu/b152da2cacef525de59f799a7357ce5d to your computer and use it in GitHub Desktop.
Save chaxiu/b152da2cacef525de59f799a7357ce5d to your computer and use it in GitHub Desktop.
getUserInfo(new CallBack() {
@Override
public void onSuccess(String user) {
if (user != null) {
System.out.println(user);
getFriendList(user, new CallBack() {
@Override
public void onSuccess(String friendList) {
if (friendList != null) {
System.out.println(friendList);
getFeedList(friendList, new CallBack() {
@Override
public void onSuccess(String feed) {
if (feed != null) {
System.out.println(feed);
}
}
});
}
}
});
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment