SHARE
TWEET

Untitled

a guest Apr 19th, 2019 101 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class MainActivity extends AppCompatActivity {
  2.  
  3.     SignInButton button;
  4.     FirebaseAuth mAuth;
  5.     private static final int RC_SIGN_IN = 3;
  6.     GoogleSignInClient mGoogleSignInClient;
  7.    
  8.     @Override
  9.     protected void onCreate(Bundle savedInstanceState) {
  10.         super.onCreate(savedInstanceState);
  11.         setContentView(R.layout.activity_main);
  12.  
  13.         mAuth = FirebaseAuth.getInstance();
  14.         button = findViewById(R.id.googleBtn);
  15.  
  16.         button.setOnClickListener(new View.OnClickListener() {
  17.             @Override
  18.             public void onClick(View v) {
  19.                
  20.             }
  21.         });
  22.     }
  23.  }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top