Class LoginActivity

    • Constructor Detail

      • LoginActivity

        public LoginActivity()
    • Method Detail

      • onCreate

        protected void onCreate​(Bundle savedInstanceState)
        Initializes variables and sets an OnClickListener to Google Sign In.
        Overrides:
        onCreate in class AppCompatActivity
        Parameters:
        savedInstanceState - A Bundle.
      • onActivityResult

        protected void onActivityResult​(int requestCode,
                                        int resultCode,
                                        @Nullable
                                        Intent data)
        Completes signin, if possible.
        Overrides:
        onActivityResult in class FragmentActivity
        Parameters:
        requestCode - A code that indicates a type of request.
        resultCode - A code that indicates a type of result.
        data - An intent.