Run the app

After running the app on your Android device or emulator, you will see this screen:

We can see our pre-added user details here. Now click the float button and go to the new user activity where you can write down the information of a user as shown by this screenshot:

Lastly, click the Save button. You can now see the new username, which is displayed as Naruto in this image:

So, in this way we have learned how to use Room for the local database. In the next chapter, you will see more use of this library in an Android application.