The Problem1:28 with Ben Deitch
In this video we'll go over the app we'd like to create!
[MUSIC] 0:00 Hey there, I'm Ben and I'm here to give you a little more practice with Room. 0:09 After all, practicing what you've learned is one of the best ways to make it stick. 0:13 In this practice session, we're going to create a very basic note taking app and 0:18 use Room to save the note data. 0:23 When you're trying to learn something new, a good way to get started is to try and 0:26 implement it in an empty project. 0:30 So what we're going to do for 0:32 this session is create an empty project and then build a note taking app. 0:34 Here's what you'll need to do. 0:38 First, create a new project, naming it whatever you'd like. 0:40 Then create the layout of the note taking app with 0:44 a recycler view, an edit text, and a button. 0:49 And users should be able to add a note in the edit text, like Android is awesome. 0:54 And when they click the button, the note should be added to the recycler view. 1:01 Behind the scenes, all of the notes should be stored in a Room database. 1:07 And you should use a view model and 1:11 live data as well to make sure the UI stays up to date. 1:13 All right, now it's your turn. 1:18 Also if you get stuck or have any issues, 1:20 there's some link to related videos in the teacher's note below. 1:23 Good luck. 1:26
You need to sign up for Treehouse in order to download course files.Sign up