From the course: Create a CRM Mobile Application with React Native
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Coding the scroll on the detail view - React Native Tutorial
From the course: Create a CRM Mobile Application with React Native
Coding the scroll on the detail view
- [Instructor] Okay, so now we'll continue working on the detail view. One of the things that we're going to do first is add an action here. So basically this particular action update test will allow us to update the contact whenever we want to. So basically when we click on any of the contacts, we are going to go into the screen where we can update the view itself. So let's go ahead update contact this.props.person. So we're passing the actual person in here. So we're going to create this update contact action when we get to the actual CRUD section in the next chapter. So what we're going to do is pass this particular person into that action or function and then go to the screen where we update the contact with all the information from that particular person. Okay, so now we're going to go inside of our view here. So I'm going to use the view here and get started on creating our full view. The first thing I'm going to do here is pass a style. So we have a style that's called…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.