Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement