Skip to content

Instantly share code, notes, and snippets.

@hamakn
Created February 11, 2015 07:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hamakn/8ca4fabc89ec8acbeec6 to your computer and use it in GitHub Desktop.
Save hamakn/8ca4fabc89ec8acbeec6 to your computer and use it in GitHub Desktop.
return multiple values using android.util.Pair
private Pair<String, String> testMethod() {
Pair<String, String> p = new Pair<String, String>("hoge", "fuga");
return p;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment