Class LoginActivity

    • Constructor Detail

      • LoginActivity

        public LoginActivity()
    • Method Detail

      • onCreate

        protected void onCreate​(Bundle savedInstanceState)
        Called when the activity is starting followed by initilization including tab layout.
        Overrides:
        onCreate in class FragmentActivity
        Parameters:
        savedInstanceState - A mapping from String keys to various Parcelable values.
      • onActivityResult

        protected void onActivityResult​(int requestCode,
                                        int resultCode,
                                        @Nullable
                                        Intent data)
        On start up activity will fetch account information and return a toast if credentials are required to log in.
        Overrides:
        onActivityResult in class FragmentActivity
        Parameters:
        requestCode - is set at 1000 for "pass phrase"
        resultCode - result code required to pass activity
        data - can be null, user will need to create account