Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.