‫Welcome back.
‫Now let's test the creation of the users with the email and password.
‫So I'll go to the main activity here.
‫And I'll initialize the widgets that we create in the activity underscore main that will direct us to
‫the sign up activity and test the result in our Firebase authentication system.
‫Here we have to edit text and two buttons.
‫So I'll initialize them here.
‫Then create account button dot set on click listener, new on click listener.
‫And here I need to detect the user from this main activity to another activity.
‫You ancient.
‫And by the way, we can use the lambda expression from here.
‫Replace with lambda so v and it will direct us.
‫So instead of using this new view on click listener it will cast it to a lambda V.
‫And like this we remove the override and the on click method.
‫So this will represent the on click method main activity dot this and sign up activity dot class start
‫activity I run.
‫Use the app and click run.
‫Then log in to your Firebase console, then select.
‫Build.
‫Authentication and this is our app.
‫Make sure you added the internet permission to your manifest.
‫Click on create Account and this is our sign up activity.
‫I'll start with for example Jack at gmail.com password 1234 and the username Jackie.
‫Click on sign up and we need to use a real ale.
‫So this is my email.
‫Click sign up.
‫Let's go to the Firebase console refresh.
‫And nothing happened because I need to add the password.
‫It's minimum like six characters.
‫So I'll use 45678.
‫So the password is run from 1 to 9.
‫Click sign up and the account is created successfully.
‫Those message will appear refresh.
‫And you can see that this is the account identifier the user id user id this is the user ID created
‫October 2nd and signed in October 2nd.