Skip to content

Instantly share code, notes, and snippets.

@gguuss
Created November 15, 2017 21:29
Show Gist options
  • Save gguuss/388f587d4604913a835fc627ff373f8f to your computer and use it in GitHub Desktop.
Save gguuss/388f587d4604913a835fc627ff373f8f to your computer and use it in GitHub Desktop.
@Override
public void onClick(View v) {
int i = v.getId();
if (i == R.id.button_camera) {
launchCamera();
} else if (i == R.id.button_sign_in) {
signInAnonymously();
} else if (i == R.id.button_detections) {
retrieveMetadata();
updateUI(mAuth.getCurrentUser());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment