Skip to content

Instantly share code, notes, and snippets.

@LondonAppDev
Last active February 23, 2017 09:38
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 LondonAppDev/35d3ad2725767255cd05d44d275dcd2f to your computer and use it in GitHub Desktop.
Save LondonAppDev/35d3ad2725767255cd05d44d275dcd2f to your computer and use it in GitHub Desktop.
1602 Instance Variables
EditText etGitHubUser; // This will be a reference to our GitHub username input.
Button btnGetRepos; // This is a reference to the "Get Repos" button.
TextView tvRepoList; // This will reference our repo list text box.
RequestQueue requestQueue; // This is our requests queue to process our HTTP requests.
String baseUrl = "https://api.github.com/users/"; // This is the API base URL (GitHub API)
String url; // This will hold the full URL which will include the username entered in the etGitHubUser.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment