Skip to content

Instantly share code, notes, and snippets.

@mbarcia
Created January 29, 2014 16:23
Show Gist options
  • Save mbarcia/8691527 to your computer and use it in GitHub Desktop.
Save mbarcia/8691527 to your computer and use it in GitHub Desktop.
Adding business logic in the listener
new Listener<String>() {
@Override
public void onResponse(String response) {
MyItem item = new MyItem(response);
display(item);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment