Skip to content

Instantly share code, notes, and snippets.

@biodunalfet
Created January 8, 2016 03:32
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 biodunalfet/9101fa646fbc1aaf9a9d to your computer and use it in GitHub Desktop.
Save biodunalfet/9101fa646fbc1aaf9a9d to your computer and use it in GitHub Desktop.
//Here's the sign-in button
Button s= (Button)findViewById(R.id.buttons);
access= new Access(this);
s.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view){
//Build the GitKitClient
client= access.startAuth();
client.startSignIn();
}
}
//Here's the sign-in button
Button s= (Button)findViewById(R.id.buttons);
access= new Access(this);
//Build the GitKitClient
client= access.startAuth();
s.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view){
client.startSignIn();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment